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/Sources/GEN_SQR.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/Sources/GEN_SQR.js')
-rw-r--r-- | js/Sources/GEN_SQR.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/Sources/GEN_SQR.js b/js/Sources/GEN_SQR.js index 39a3ec95..d6a3d32a 100644 --- a/js/Sources/GEN_SQR.js +++ b/js/Sources/GEN_SQR.js @@ -59,10 +59,10 @@ function GEN_SQR() { return options; } GEN_SQR.prototype.set = function GEN_SQR() { - scicos_context.Amin = parseFloat((arguments[0]["scicos_context.Amin"])) - scicos_context.Amax = parseFloat((arguments[0]["scicos_context.Amax"])) - scicos_context.rule = parseFloat((arguments[0]["scicos_context.rule"])) - scicos_context.F = parseFloat((arguments[0]["scicos_context.F"])) + scicos_context.Amin = arguments[0]["scicos_context.Amin"] + scicos_context.Amax = arguments[0]["scicos_context.Amax"] + scicos_context.rule = arguments[0]["scicos_context.rule"] + scicos_context.F = arguments[0]["scicos_context.F"] y = this.needcompile; arg1.model.ipar = 1; typ = list(); |