From 5a28e41a3105338f747b8a30f67000920490c67d Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Fri, 6 Jul 2018 10:38:38 +0530 Subject: make string as the default type --- js/Sinks/CMAT3D.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'js/Sinks/CMAT3D.js') 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; -- cgit