We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afede94 commit 1685fd2Copy full SHA for 1685fd2
1 file changed
src/pyscipopt/expr.pxi
@@ -124,8 +124,8 @@ cdef class Term:
124
return len(self.vartuple)
125
126
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.
+ # NOTE: This merge algorithm requires a sorted `Term.vartuple`.
+ # This should be ensured in the constructor of Term.
129
cdef int n1 = len(self)
130
cdef int n2 = len(other)
131
if n1 == 0: return other
0 commit comments