summaryrefslogtreecommitdiff
path: root/js/Misc/scifunc_block.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/scifunc_block.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/scifunc_block.js')
-rw-r--r--js/Misc/scifunc_block.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/js/Misc/scifunc_block.js b/js/Misc/scifunc_block.js
index 71f3d0f1..4e016a08 100644
--- a/js/Misc/scifunc_block.js
+++ b/js/Misc/scifunc_block.js
@@ -47,16 +47,16 @@ function scifunc_block() {
return options;
}
scifunc_block.prototype.set = function scifunc_block() {
- this.i = parseFloat((arguments[0]["i"]))
- this.o = parseFloat((arguments[0]["o"]))
- 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.rpar = inverse((arguments[0]["rpar"]))
- this.auto0 = parseFloat((arguments[0]["auto0"]))
- this.deptime = parseFloat((arguments[0]["deptime"]))
- this.lab = parseFloat((arguments[0]["lab"]))
+ this.i = parseFloat(arguments[0]["i"])
+ this.o = parseFloat(arguments[0]["o"])
+ 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.rpar = inverse(arguments[0]["rpar"])
+ this.auto0 = arguments[0]["auto0"]
+ this.deptime = arguments[0]["deptime"]
+ this.lab = arguments[0]["lab"]
needcompile = 0;
this.x = arg1;
model = arg1.model;