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
BooleanPolynomial.variables() consider "1" as a variable #13104
Comments
Attachment: pbori_variables.patch.gz patch that fixes the problem |
comment:2
Hi, can you add a doctest that shows that the issue is resolved? I also CCed the PolyBoRi developers to make sure there isn't some obscure reason for this behaviour. |
comment:3
Hi, I actually did, in fact. I modified the existing docstring to verify that:
Should I add anything else? |
comment:4
Sorry, my bad! |
comment:5
|
Author: Charles Bouillaguet |
Reviewer: Alexander Dreyer, Martin Albrecht |
Merged: sage-5.1.beta6 |
This is in contradiction with other functions (BooleanPolynomial.nvariables), and with the behavior of the "normal" class MPolynomial.
Example:
Which differs from:
CC: @malb @alexanderdreyer @sagetrac-PolyBoRi
Component: commutative algebra
Keywords: BooleanPolynomial
Author: Charles Bouillaguet
Reviewer: Alexander Dreyer, Martin Albrecht
Merged: sage-5.1.beta6
Issue created by migration from https://trac.sagemath.org/ticket/13104
The text was updated successfully, but these errors were encountered: