more bug fixes in dpat
authorbb3dan <gitdan@citopia.com>
Wed, 25 Sep 2013 00:08:35 +0000 (20:08 -0400)
committerbb3dan <gitdan@citopia.com>
Wed, 25 Sep 2013 00:08:35 +0000 (20:08 -0400)
DanUtil.pde

index 6c2ddf110c08d5d14bb637ee0a82b372127c25fd..d3f9ac05186e314f3a302f229ac90d65f736a7fa 100644 (file)
@@ -17,8 +17,8 @@ public class Pick {
 public class _DhP extends BasicParameter {
        double  dflt;
        _DhP    (String label, double value)            { super(label,value); dflt=value;               }
-       void    Set                     (double value)                  { super.updateValue(value);                             }
-       void    reset           ()                                              { super.updateValue(dflt);                              }
+       void    Set                     (double value)                  { super.setValue(value);                                }
+       void    reset           ()                                              { super.setValue(dflt);                                 }
        float   Val                     ()                                              { return getValuef();                                   }
        boolean ZeroOrOne       ()                                              { return Val()==0 || Val() == 1;                }
 }