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/Branching/SWITCH2_m.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/Branching/SWITCH2_m.js')
-rw-r--r-- | js/Branching/SWITCH2_m.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/Branching/SWITCH2_m.js b/js/Branching/SWITCH2_m.js index c386ff62..6797c0b8 100644 --- a/js/Branching/SWITCH2_m.js +++ b/js/Branching/SWITCH2_m.js @@ -36,10 +36,10 @@ function SWITCH2_m() { return options; } SWITCH2_m.prototype.set = function SWITCH2_m() { - this.ot = parseFloat((arguments[0]["ot"])) - this.rule = parseFloat((arguments[0]["rule"])) - this.thra = parseFloat((arguments[0]["thra"])) - this.nzz = parseFloat((arguments[0]["nzz"])) + this.ot = arguments[0]["ot"] + this.rule = parseFloat(arguments[0]["rule"]) + this.thra = arguments[0]["thra"] + this.nzz = parseFloat(arguments[0]["nzz"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; |