Skip to content

Commit 042fdc5

Browse files
committed
fix more code that relied on pol(x,y,...) ∈ wrong parent (2)
1 parent 73fa44e commit 042fdc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/schemes/toric/points.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@ def inhomogeneous_equations(self, ring, nonzero_coordinates, cokernel):
849849
z = [ring.zero()] * nrays
850850
for i, value in zip(nonzero_coordinates, z_nonzero):
851851
z[i] = value
852-
return [poly(z) for poly in self.polynomials]
852+
return [poly.change_ring(ring)(z) for poly in self.polynomials]
853853

854854
def solutions_serial(self, inhomogeneous_equations, log_range):
855855
"""

0 commit comments

Comments
 (0)