syntax errors

This commit is contained in:
Josh Holtrop committed 2011-03-29 14:28:05 -04:00
1 parent 4826861967
commit a81c0d5a7d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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)]
+1 -1
View File
@@ -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)]