Opened 13 years ago

Closed 13 years ago

#371 closed bug (fixed)

nrroots from rootsur.lib gives wrong results

Reported by: steenpass Owned by: somebody
Priority: minor Milestone: 3-1-4 and higher
Component: singular-libs Version: 3-1-3
Keywords: rootsur.lib Cc:

Description

According to the online manual, nrroots from rootsur.lib gives "the number of real roots" of a polynomial, but it gives strange results in some cases:

> option(noloadLib);
> LIB "rootsur.lib";
> ring r = 0,x,ds;
> nrroots((x-1)*x*(x+1));
1
> 

One could argue that this result is correct in some sense because ds is a local monomial order and locally at 0, there is only one root. But then what about the following cases?

> nrroots((x-1)*(x+1));
2
> nrroots((x-1)*(x+1)*(x+2));
1
> 

Change History (1)

comment:1 Changed 13 years ago by hannes

Resolution: fixed
Status: newclosed

a global ordering is required for proc sturmha (etc.) fixed with rev. 14388

Last edited 13 years ago by hannes (previous) (diff)
Note: See TracTickets for help on using tickets.