Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPolynomial_libsingular.factor does not set units #2408

Closed
burcin opened this issue Mar 6, 2008 · 1 comment
Closed

MPolynomial_libsingular.factor does not set units #2408

burcin opened this issue Mar 6, 2008 · 1 comment

Comments

@burcin
Copy link

burcin commented Mar 6, 2008

MPolynomial_libsingular.factor does not set units.

We now have

sage: R.<x,y,z> = QQ[]
sage: p = -1*(x*y+z)  
sage: F = p.factor(); F
(-1) * (x*y + z)
sage: F.unit()
1
sage: len(F)
2

It should be

sage: F = p.factor(); F
x*y + z
sage: F.unit()
-1
sage: len(F)
1

Component: commutative algebra

Issue created by migration from https://trac.sagemath.org/ticket/2408

@burcin
Copy link
Author

burcin commented Mar 6, 2008

comment:1

This works on 2.10.2, I was using 2.10 at the time. Sorry for the noise.

@burcin burcin closed this as completed Mar 6, 2008
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants