summaryrefslogtreecommitdiff
path: root/js/Misc/CBLOCK4.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/CBLOCK4.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/CBLOCK4.js')
-rw-r--r--js/Misc/CBLOCK4.js40
1 files changed, 20 insertions, 20 deletions
diff --git a/js/Misc/CBLOCK4.js b/js/Misc/CBLOCK4.js
index 684e96e5..d7fd487e 100644
--- a/js/Misc/CBLOCK4.js
+++ b/js/Misc/CBLOCK4.js
@@ -44,26 +44,26 @@ function CBLOCK4() {
return options;
}
CBLOCK4.prototype.set = function CBLOCK4() {
- this.function_name = parseFloat((arguments[0]["function_name"]))
- this.impli = parseFloat((arguments[0]["impli"]))
- this.in1 = parseFloat((arguments[0]["in1"]))
- this.it = parseFloat((arguments[0]["it"]))
- this.out = parseFloat((arguments[0]["out"]))
- this.ot = parseFloat((arguments[0]["ot"]))
- this.ci = parseFloat((arguments[0]["ci"]))
- this.co = parseFloat((arguments[0]["co"]))
- this.xx = inverse((arguments[0]["xx"]))
- this.z = inverse((arguments[0]["z"]))
- this.oz = parseFloat((arguments[0]["oz"]))
- this.rpar = inverse((arguments[0]["rpar"]))
- this.ipar = parseFloat((arguments[0]["ipar"]))
- this.opar = parseFloat((arguments[0]["opar"]))
- this.nmode = parseFloat((arguments[0]["nmode"]))
- this.nzcr = parseFloat((arguments[0]["nzcr"]))
- this.auto0 = parseFloat((arguments[0]["auto0"]))
- this.depu = parseBoolean((arguments[0]["depu"]))
- this.dept = parseBoolean((arguments[0]["dept"]))
- this.lab = parseFloat((arguments[0]["lab"]))
+ this.function_name = arguments[0]["function_name"]
+ this.impli = arguments[0]["impli"]
+ this.in1 = arguments[0]["in1"]
+ this.it = arguments[0]["it"]
+ this.out = arguments[0]["out"]
+ this.ot = arguments[0]["ot"]
+ this.ci = parseFloat(arguments[0]["ci"])
+ this.co = parseFloat(arguments[0]["co"])
+ this.xx = inverse(arguments[0]["xx"])
+ this.z = inverse(arguments[0]["z"])
+ this.oz = arguments[0]["oz"]
+ this.rpar = inverse(arguments[0]["rpar"])
+ this.ipar = parseFloat(arguments[0]["ipar"])
+ this.opar = arguments[0]["opar"]
+ this.nmode = arguments[0]["nmode"]
+ this.nzcr = arguments[0]["nzcr"]
+ this.auto0 = arguments[0]["auto0"]
+ this.depu = parseBoolean(arguments[0]["depu"])
+ this.dept = parseBoolean(arguments[0]["dept"])
+ this.lab = arguments[0]["lab"]
this.x = arg1;
model = arg1.model;
graphics = arg1.graphics;