Skip to content

Commit 1685fd2

Browse files
Apply suggestion from @Joao-Dionisio
1 parent afede94 commit 1685fd2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/pyscipopt/expr.pxi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ cdef class Term:
124124
return len(self.vartuple)
125125

126126
def __mul__(self, Term other):
127-
# NOTE: `Term.vartuple` reqiuires to be sorted. Otherwise, this merge will not
128-
# work correctly. We should ensure this in the constructor of Term.
127+
# NOTE: This merge algorithm requires a sorted `Term.vartuple`.
128+
# This should be ensured in the constructor of Term.
129129
cdef int n1 = len(self)
130130
cdef int n2 = len(other)
131131
if n1 == 0: return other

0 commit comments

Comments
 (0)