diff options
author | Sunil Shetye | 2018-07-04 11:31:04 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-05 12:57:00 +0530 |
commit | a7431fc21032282fd2a9f389931355a99a0e4c4c (patch) | |
tree | 160959296dee624fc164a2422ff219d3d8bc630d /js/MatrixOp/MATDIAG.js | |
parent | 928d58d0583febfa94676bd7f3bb9e0dd9d78e83 (diff) | |
download | sci2js-a7431fc21032282fd2a9f389931355a99a0e4c4c.tar.gz sci2js-a7431fc21032282fd2a9f389931355a99a0e4c4c.tar.bz2 sci2js-a7431fc21032282fd2a9f389931355a99a0e4c4c.zip |
add type to expressions
Diffstat (limited to 'js/MatrixOp/MATDIAG.js')
-rw-r--r-- | js/MatrixOp/MATDIAG.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/MatrixOp/MATDIAG.js b/js/MatrixOp/MATDIAG.js index 5fe82b25..c4287281 100644 --- a/js/MatrixOp/MATDIAG.js +++ b/js/MatrixOp/MATDIAG.js @@ -35,7 +35,7 @@ function MATDIAG() { return options; } MATDIAG.prototype.set = function MATDIAG() { - this.typ = parseFloat((arguments[0]["typ"])) + this.typ = inverse((arguments[0]["typ"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; |