diff --git a/Horizontal.py b/Horizontal.py index e8e35d5..7813806 100644 --- a/Horizontal.py +++ b/Horizontal.py @@ -15,5 +15,5 @@ class Horizontal(Constraint): for i in range(len(varrefs1)): coeffs.append((1 * varrefs1[i], (self.shape1, i))) for i in range(len(varrefs2)): - coeffs.append((-1 * varrefs2[i], (self.shape2, i)) + coeffs.append((-1 * varrefs2[i], (self.shape2, i))) return [(coeffs, 0)] diff --git a/Vertical.py b/Vertical.py index 0b4e92d..fe8edad 100644 --- a/Vertical.py +++ b/Vertical.py @@ -15,5 +15,5 @@ class Vertical(Constraint): for i in range(len(varrefs1)): coeffs.append((1 * varrefs1[i], (self.shape1, i))) for i in range(len(varrefs2)): - coeffs.append((-1 * varrefs2[i], (self.shape2, i)) + coeffs.append((-1 * varrefs2[i], (self.shape2, i))) return [(coeffs, 0)]