# HG changeset patch # User Drew Perttula # Date 1370857343 0 # Node ID 39f4d6d4483efe4d5558c4a3638de5ed194d52fa # Parent 0a47ec94fc63b6c64943119925d12dd78b3ea6b5 comment Ignore-this: 2f6cc25a5a46b6e454e6ff2257e12bce diff -r 0a47ec94fc63 -r 39f4d6d4483e light9/curvecalc/curve.py --- a/light9/curvecalc/curve.py Mon Jun 10 09:28:11 2013 +0000 +++ b/light9/curvecalc/curve.py Mon Jun 10 09:42:23 2013 +0000 @@ -70,6 +70,7 @@ """returns index of new point""" i = bisect(self.points, (new_pt[0],None)) self.points.insert(i,new_pt) + # missing a check that this isn't the same X as the neighbor point return i def set_points(self, updates):