From eb65d9f65315f120315fcf30dd9df75fbc092781 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Tue, 29 Mar 2011 19:23:51 -0400 Subject: [PATCH] syntax error - duh --- Horizontal.py | 2 +- Vertical.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)]