From a81c0d5a7d9babd5ffacf6f18db29465cdc76510 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Tue, 29 Mar 2011 14:28:05 -0400 Subject: [PATCH] syntax errors --- XDistance.py | 2 +- YDistance.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/XDistance.py b/XDistance.py index a4afdc2..535e2dd 100644 --- a/XDistance.py +++ b/XDistance.py @@ -16,5 +16,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, self.dist)] diff --git a/YDistance.py b/YDistance.py index 78305e0..003a612 100644 --- a/YDistance.py +++ b/YDistance.py @@ -16,5 +16,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, self.dist)]