(autopeak.py) whatset variable now defined, led to crash in some cases, fixed
authordevicerandom <devnull@localhost>
Wed, 7 Jan 2009 11:54:40 +0000 (11:54 +0000)
committerdevicerandom <devnull@localhost>
Wed, 7 Jan 2009 11:54:40 +0000 (11:54 +0000)
autopeak.py

index 60a73db9b463a5b4eb46cd085fcf7947c0f20167..859c3189d54873b150db3d202a41f59c8d2b762f 100644 (file)
@@ -82,6 +82,7 @@ class autopeakCommands:
             plot: plot to use
             backwards: if true, finds a point backwards.
             '''
+            whatset=1 #FIXME: should be decidable
             x_vect=plot.vectors[1][0]
             
             c=0