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/Sinks/CMAT3D.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/Sinks/CMAT3D.js')
-rw-r--r-- | js/Sinks/CMAT3D.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/js/Sinks/CMAT3D.js b/js/Sinks/CMAT3D.js index ea3cf4b8..a9d7bb37 100644 --- a/js/Sinks/CMAT3D.js +++ b/js/Sinks/CMAT3D.js @@ -38,11 +38,11 @@ function CMAT3D() { return options; } CMAT3D.prototype.set = function CMAT3D() { - this.vec_x = parseFloat((arguments[0]["vec_x"])) - this.vec_y = parseFloat((arguments[0]["vec_y"])) - this.colormap = parseFloat((arguments[0]["colormap"])) - this.cmin = parseFloat((arguments[0]["cmin"])) - this.cmax = parseFloat((arguments[0]["cmax"])) + this.vec_x = arguments[0]["vec_x"] + this.vec_y = arguments[0]["vec_y"] + this.colormap = parseFloat(arguments[0]["colormap"]) + this.cmin = parseFloat(arguments[0]["cmin"]) + this.cmax = parseFloat(arguments[0]["cmax"]) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; |