changeset 909:39f4d6d4483e

comment Ignore-this: 2f6cc25a5a46b6e454e6ff2257e12bce
author Drew Perttula <drewp@bigasterisk.com>
date Mon, 10 Jun 2013 09:42:23 +0000
parents 0a47ec94fc63
children 3a15fb921b9c
files light9/curvecalc/curve.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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):