Skip to content

Commit

Permalink
corrected error, line 96, changed 'l' to '1'
Browse files Browse the repository at this point in the history
  • Loading branch information
cmarmstrong committed Jul 23, 2011
1 parent c8e2117 commit c5b0a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycurve/_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def __init__(self, P, t, k = None):
n = m - k - 1
"""
m, n = len(t) - 1, len(P) - 1
if not k: k = m - n - l
if not k: k = m - n - 1
else: assert m == n + k + 1
self.k, self.t = k, t
self.X, self.Y = _unzip(P) # points in X, Y components
Expand Down

0 comments on commit c5b0a22

Please sign in to comment.