summaryrefslogtreecommitdiff
path: root/js/Misc/MBLOCK.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-06 10:38:38 +0530
committerSunil Shetye2018-07-09 12:16:25 +0530
commit5a28e41a3105338f747b8a30f67000920490c67d (patch)
treee55c568d243ea8e0ec539f0df20cefbc3e42f3ef /js/Misc/MBLOCK.js
parent200c4cfb3bd50c0b05fdf5b58c6e3671853cc5ad (diff)
downloadsci2js-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.js16
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;