Skip to content

Commit c5f0228

Browse files
Update src/sage/rings/polynomial/multi_polynomial_sequence.py
Co-authored-by: Vincent Neiger <[email protected]>
1 parent 1831eb0 commit c5f0228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/rings/polynomial/multi_polynomial_sequence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@ def macaulay_matrix(self, degree,
11051105
R_monomials_useful += R_monomials_of_degree[i]
11061106
R_monomials_useful.sort()
11071107
for mon in R_monomials_useful:
1108-
row_indices += [(mon, i) for i in range(m) if self[i].degree() + mon.degree()==target_degree]
1108+
row_indices += [(mon, i) for i in range(m) if self[i].degree() + mon.degree() == target_degree]
11091109
else:
11101110
# order the row with POT (or None)
11111111
if row_order is None or row_order == "POT":

0 commit comments

Comments
 (0)