We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a90d384 commit 293b259Copy full SHA for 293b259
src/sage/rings/polynomial/multi_polynomial_ring_base.pyx
@@ -623,8 +623,8 @@ cdef class MPolynomialRing_base(CommutativeRing):
623
if self is other:
624
return True
625
n = other.ngens()
626
- check = (self.ngens() >= n and
627
- self.variable_names()[:n] == other.variable_names())
+ check = (self.ngens() >= n and
+ self.variable_names()[:n] == other.variable_names())
628
if other.base_ring is base_ring and check:
629
630
elif base_ring.has_coerce_map_from(other._mpoly_base_ring(self.variable_names())):
0 commit comments