We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Raising a multivariate polynomial to a fractional power is broken. A TypeError should be raised, but it is rounded instead.
sage: pr = PolynomialRing(QQ, "u,v") sage: pr.injvar() Defining u, v sage: u^(1/2) 1
Component: algebra
Issue created by migration from https://trac.sagemath.org/ticket/3678
The text was updated successfully, but these errors were encountered:
The attached patch fixes this by introducing the same type-check as in the univariate polynomial case.
Sorry, something went wrong.
Attachment: trac_3678.patch.gz
Positive review. Patch applies cleanly to 3.2.2 and tests in sage/rings/polynomial pass.
Merged in Sage 3.2.3.alpha0
No branches or pull requests
Raising a multivariate polynomial to a fractional power is broken.
A TypeError should be raised, but it is rounded instead.
Component: algebra
Issue created by migration from https://trac.sagemath.org/ticket/3678
The text was updated successfully, but these errors were encountered: