Opened 14 years ago
Closed 13 years ago
#161 closed bug (fixed)
imap from reals to rationals seems to loose signs of coefficients
Reported by: | Madalina (User Forum) | Owned by: | hannes |
---|---|---|---|
Priority: | minor | Milestone: | 3-1-1 |
Component: | singular-kernel | Version: | 3-1-0 |
Keywords: | imap | Cc: |
Description
reported by Madalina (User Forum, 28 Aug 2009)
here's a code sample to illustrate the effect:
ring r=real, (x,y), dp;
poly f= -1+2x2+3y3-2x-3y; poly g= -1-2x2-3y3+x+3y; ideal m=f,g; ring t=0,(x,y),dp; ideal n=imap(r,m); n[1];
3y3+2x2+2x+3y+1
n[2];
3y3+2x2+x+3y+1
poly newf=imap(r,f); poly newg=imap(r,g); newf;
3y3+2x2+2x+3y+1
newg;
3y3+2x2+x+3y+1
Change History (3)
comment:1 Changed 13 years ago by
Owner: | changed from somebody to hannes |
---|
comment:2 Changed 13 years ago by
Status: | new → assigned |
---|
comment:3 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
fixed sign bug in kernel/longrat.cc: nlMapR
Note: See
TracTickets for help on using
tickets.
fixed sign bug in kernel/longrat.cc: nlMapR