Opened 9 years ago

Closed 9 years ago

#555 closed bug (fixed)

bug in Ehv::compareLists

Reported by: kroeker@… Owned by: pfister
Priority: minor Milestone: 4-1-0 and higher
Component: singular-libs Version: 4-0-0
Keywords: compare different primary decomposition algorithm results Cc:


Here is the failing example:

ring r  = integer, (x,y),dp;

list L1 , L2 , tmp;

tmp[1] = ideal(0);
tmp[2] = ideal(0);

L1[1] = tmp;

tmp[1] = ideal(x);
tmp[2] = ideal(x);

L2[1] = tmp;


compareLists( L1, L2 ); //=1, wrong!

A statement

 if (size(N)<s1) {  return(0);}

would fix the issue.

Also the routine should be renamed, since it does *not* compare lists.

Change History (4)

comment:1 Changed 9 years ago by mlee

Owner: changed from somebody to pfister

comment:4 Changed 9 years ago by hannes

Resolution: fixed
Status: newclosed

ehv.lib is deprecated

Note: See TracTickets for help on using tickets.