Skip to content

Commit

Permalink
fix more code that relied on pol(x,y,...) ∈ wrong parent (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
mezzarobba committed Feb 19, 2023
1 parent 73fa44e commit 042fdc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/schemes/toric/points.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

def solutions_serial(self, inhomogeneous_equations, log_range):
"""
Expand Down

0 comments on commit 042fdc5

Please sign in to comment.