summaryrefslogtreecommitdiff
path: root/js/MatrixOp/SUBMAT.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/SUBMAT.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/SUBMAT.js')
-rw-r--r--js/MatrixOp/SUBMAT.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/js/MatrixOp/SUBMAT.js b/js/MatrixOp/SUBMAT.js
index 1f6bce0f..18382fdf 100644
--- a/js/MatrixOp/SUBMAT.js
+++ b/js/MatrixOp/SUBMAT.js
@@ -40,12 +40,12 @@ function SUBMAT() {
return options;
}
SUBMAT.prototype.set = function SUBMAT() {
- this.typ = inverse((arguments[0]["typ"]))
- this.a = parseFloat((arguments[0]["a"]))
- this.b = parseFloat((arguments[0]["b"]))
- this.c = parseFloat((arguments[0]["c"]))
- this.d = parseFloat((arguments[0]["d"]))
- this.inp = parseFloat((arguments[0]["inp"]))
+ this.typ = inverse(arguments[0]["typ"])
+ this.a = arguments[0]["a"]
+ this.b = arguments[0]["b"]
+ this.c = arguments[0]["c"]
+ this.d = arguments[0]["d"]
+ this.inp = arguments[0]["inp"]
this.x = arg1;
graphics = arg1.graphics;
label = graphics.exprs;