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

Two bugs of sparse polynomials with interval coefficients #18069

Closed
mezzarobba opened this issue Mar 27, 2015 · 7 comments
Closed

Two bugs of sparse polynomials with interval coefficients #18069

mezzarobba opened this issue Mar 27, 2015 · 7 comments

Comments

@mezzarobba
Copy link
Member

A bug affecting their creation from a coefficient list:

sage: pol = PolynomialRing(RIF, 'z', sparse=True)([RIF(-1, 1), RIF(-1,1)])
sage: pol.degree()
-1

and a related printing bug:

sage: pol = PolynomialRing(RIF, 'z', sparse=True)(RIF['x']([RIF(-1, 1), RIF(-1,1)]))
sage: pol.degree()
1
sage: pol
0

Component: algebra

Author: Marc Mezzarobba

Branch/Commit: c492cad

Reviewer: Jeroen Demeyer

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

@mezzarobba mezzarobba added this to the sage-6.6 milestone Mar 27, 2015
@mezzarobba
Copy link
Member Author

Commit: c492cad

@mezzarobba
Copy link
Member Author

@mezzarobba
Copy link
Member Author

New commits:

c492cad#18069 Fix two incorrect zero tests in sparse polynomials

@mezzarobba
Copy link
Member Author

Author: Marc Mezzarobba

@jdemeyer
Copy link

Reviewer: Jeroen Demeyer

@mezzarobba
Copy link
Member Author

comment:3

Thanks!

@vbraun
Copy link
Member

vbraun commented Apr 14, 2015

Changed branch from u/mmezzarobba/18069-sparse_interval_polys to c492cad

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

3 participants