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/scifunc_block.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/scifunc_block.js')
-rw-r--r-- | js/Misc/scifunc_block.js | 20 |
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; |