You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 30, 2023. It is now read-only.
Trac #29475: Weil polynomials iterator is not handling coefficient constraints correctly
Currently, when iterating over Weil polynomals, initial coefficient
constraints are not being handled correctly in some cases:
{{{
sage: from sage.rings.polynomial.weil.weil_polynomials import
WeilPolynomials as WP
sage: P.<x> = QQ[]
sage: u = x^6 + x^5 + 6*x^4 - 2*x^3 + 66*x^2 + 121*x + 1331
sage: u.is_weil_polynomial()
True
sage: l = list(WP(6, 11, 1, [1,1])); u in l # This is good
True
sage: l = list(WP(6, 11, 1, [1,1,6])); u in l # This is bad
False
}}}
URL: https://trac.sagemath.org/29475
Reported by: kedlaya
Ticket author(s): Kiran Kedlaya
Reviewer(s): Frédéric Chapoton
0 commit comments