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/Linear/REGISTER.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/Linear/REGISTER.js')
-rw-r--r-- | js/Linear/REGISTER.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Linear/REGISTER.js b/js/Linear/REGISTER.js index 78f6836d..6a27b2d1 100644 --- a/js/Linear/REGISTER.js +++ b/js/Linear/REGISTER.js @@ -26,8 +26,8 @@ function REGISTER() { return options; } REGISTER.prototype.set = function REGISTER() { - this.z0 = parseFloat((arguments[0]["z0"])) - this.it = parseFloat((arguments[0]["it"])) + this.z0 = parseFloat(arguments[0]["z0"]) + this.it = arguments[0]["it"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; |