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
evaluating multivariate polynomials yields non-constant #8502
Comments
comment:1
Bug fixed: I added tests for when the resulting value is either 0, or a nonzero constant, in which case an element of the base ring is returned. Otherwise an element of the parent is returned (so you can still evaluate f(x+y,y) and similar.) Patch up as soon as testing is finished. malb: I'm CC-ing you as the past person to work on this file. |
Author: John Cremona |
Applies to 4.3.5 |
comment:2
Attachment: trac_8502-mpoly.patch.gz |
Reviewer: Alex Ghitza |
comment:3
Looks good. |
Merged: sage-4.4.alpha0 |
comment:4
Merged "trac_8502-mpoly.patch" in 4.4.alpha0. |
The following behaviour does not agree with the documentation for the {{{call}} function on multivariable polynomials, which states that (as one would expect and hope) the result should lie in the constant field:
It is also inconsistent:
This causes strange bugs -- see #8498 for an example.
CC: @categorie @malb
Component: algebra
Keywords: polynomial evaluation
Author: John Cremona
Reviewer: Alex Ghitza
Merged: sage-4.4.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/8502
The text was updated successfully, but these errors were encountered: