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/Misc/MBLOCK.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/Misc/MBLOCK.js')
-rw-r--r-- | js/Misc/MBLOCK.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/js/Misc/MBLOCK.js b/js/Misc/MBLOCK.js index e86b0c70..8a23fe8b 100644 --- a/js/Misc/MBLOCK.js +++ b/js/Misc/MBLOCK.js @@ -48,14 +48,14 @@ function MBLOCK() { return options; } MBLOCK.prototype.set = function MBLOCK() { - this.Tin = parseFloat((arguments[0]["Tin"])) - this.Tintype = parseFloat((arguments[0]["Tintype"])) - this.Tout = parseFloat((arguments[0]["Tout"])) - this.Touttype = parseFloat((arguments[0]["Touttype"])) - this.Tparam = parseFloat((arguments[0]["Tparam"])) - this.pprop = inverse((arguments[0]["pprop"])) - this.Tfunam = parseFloat((arguments[0]["Tfunam"])) - this.lab_1 = inverse((arguments[0]["lab_1"])) + this.Tin = arguments[0]["Tin"] + this.Tintype = arguments[0]["Tintype"] + this.Tout = arguments[0]["Tout"] + this.Touttype = arguments[0]["Touttype"] + this.Tparam = arguments[0]["Tparam"] + this.pprop = inverse(arguments[0]["pprop"]) + this.Tfunam = arguments[0]["Tfunam"] + this.lab_1 = inverse(arguments[0]["lab_1"]) this.x = arg1; model = arg1.model; graphics = arg1.graphics; |