diff options
author | Sunil Shetye | 2018-07-06 10:38:38 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-09 12:16:25 +0530 |
commit | 5a28e41a3105338f747b8a30f67000920490c67d (patch) | |
tree | e55c568d243ea8e0ec539f0df20cefbc3e42f3ef /js/Events/freq_div.js | |
parent | 200c4cfb3bd50c0b05fdf5b58c6e3671853cc5ad (diff) | |
download | sci2js-5a28e41a3105338f747b8a30f67000920490c67d.tar.gz sci2js-5a28e41a3105338f747b8a30f67000920490c67d.tar.bz2 sci2js-5a28e41a3105338f747b8a30f67000920490c67d.zip |
make string as the default type
Diffstat (limited to 'js/Events/freq_div.js')
-rw-r--r-- | js/Events/freq_div.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Events/freq_div.js b/js/Events/freq_div.js index e034bb84..50719b16 100644 --- a/js/Events/freq_div.js +++ b/js/Events/freq_div.js @@ -118,8 +118,8 @@ function freq_div() { return options; } freq_div.prototype.set = function freq_div() { - %ph = parseFloat((arguments[0]["%ph"])) - %df = parseFloat((arguments[0]["%df"])) + %ph = parseFloat(arguments[0]["%ph"]) + %df = parseFloat(arguments[0]["%df"]) for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o = arg1.model.rpar.objs[i-1]; if (typeof(o)=="Block"&&o.gui=="Modulo_Count") { |