summaryrefslogtreecommitdiff
path: root/js/MatrixOp/MATSUM.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-06 10:38:38 +0530
committerSunil Shetye2018-07-09 12:16:25 +0530
commit5a28e41a3105338f747b8a30f67000920490c67d (patch)
treee55c568d243ea8e0ec539f0df20cefbc3e42f3ef /js/MatrixOp/MATSUM.js
parent200c4cfb3bd50c0b05fdf5b58c6e3671853cc5ad (diff)
downloadsci2js-5a28e41a3105338f747b8a30f67000920490c67d.tar.gz
sci2js-5a28e41a3105338f747b8a30f67000920490c67d.tar.bz2
sci2js-5a28e41a3105338f747b8a30f67000920490c67d.zip
make string as the default type
Diffstat (limited to 'js/MatrixOp/MATSUM.js')
-rw-r--r--js/MatrixOp/MATSUM.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/MatrixOp/MATSUM.js b/js/MatrixOp/MATSUM.js
index 4614a4ac..92d22248 100644
--- a/js/MatrixOp/MATSUM.js
+++ b/js/MatrixOp/MATSUM.js
@@ -36,9 +36,9 @@ function MATSUM() {
return options;
}
MATSUM.prototype.set = function MATSUM() {
- this.typ = inverse((arguments[0]["typ"]))
- this.decomptyp = parseFloat((arguments[0]["decomptyp"]))
- this.lab = parseFloat((arguments[0]["lab"]))
+ this.typ = inverse(arguments[0]["typ"])
+ this.decomptyp = arguments[0]["decomptyp"]
+ this.lab = arguments[0]["lab"]
this.x = arg1;
model = arg1.model;
graphics = arg1.graphics;