-
-
Notifications
You must be signed in to change notification settings - Fork 479
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
Convert result of multivariate polynomial evaluation into correct parent #35045
Convert result of multivariate polynomial evaluation into correct parent #35045
Conversation
6489cab
to
77d5f5d
Compare
Codecov ReportBase: 88.59% // Head: 88.58% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## develop #35045 +/- ##
===========================================
- Coverage 88.59% 88.58% -0.01%
===========================================
Files 2136 2140 +4
Lines 396142 396962 +820
===========================================
+ Hits 350948 351640 +692
- Misses 45194 45322 +128
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
I already reviewed @roed314's commit (on trac, see the linked issue), so we only need someone to take a look at mine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few more tweaks, but LGTM otherwise.
@@ -849,7 +849,7 @@ def inhomogeneous_equations(self, ring, nonzero_coordinates, cokernel): | |||
z = [ring.zero()] * nrays | |||
for i, value in zip(nonzero_coordinates, z_nonzero): | |||
z[i] = value | |||
return [poly(z) for poly in self.polynomials] | |||
return [poly.change_ring(ring)(z) for poly in self.polynomials] |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uh, the comprehension is over poly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, duh. I was thinking the loop was over z
.
Co-authored-by: Travis Scrimshaw <clfrngrown@aol.com>
5f11491
to
042fdc5
Compare
Documentation preview for this PR is ready! 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. LGTM. I think the failure in ell_field.py
is unrelated to this ticket.
Thanks for the review!
|
Any ideas what's going on in #35273? That looks like it's connected to this: on OS X, all tests pass with 10.0.beta3, but with 10.0.beta3 + this ticket, there are failures. |
Importing trac/u/roed/incorrect_parent_when_evaluating_constant_multivariate_polynomial...
(meant to fix #33373)