Opened 9 years ago

Closed 9 years ago

#606 closed bug (fixed)

bug in 'Ring::hasIntegerCoefficientRing()'

Reported by: kroeker@… Owned by: somebody
Priority: minor Milestone: 4-1-0 and higher
Component: singular-libs Version: 4-0-0
Keywords: bug Cc:

Description

Hello,

unfortunately I missed a bug in Ring::hasIntegerCoefficientRing(); here is the failing example:

   LIB("ring.lib");
   ring rng = (integer,7),x,dp;
   hasIntegerCoefficientRing( rng ); //1 , wrong!

a bugfix is provided in the request

https://github.com/Singular/Sources/pull/567

, but the request was closed...

Change History (1)

comment:1 Changed 9 years ago by hannes

Resolution: fixed
Status: newclosed

fixed: hasIntegerCoefficientRing -> hasRingCoefficientRing (handles the general case, simpler implementation)

Note: See TracTickets for help on using tickets.