summaryrefslogtreecommitdiff
path: root/js/Sources/CONST_m.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-05 18:22:46 +0530
committerSunil Shetye2018-07-05 18:22:46 +0530
commit200c4cfb3bd50c0b05fdf5b58c6e3671853cc5ad (patch)
tree1e694f2bc813be6d9cdf282c5a25f3eb4ce1d54f /js/Sources/CONST_m.js
parent1540e025c411c12cc33107b7be0c8c9cc756ec40 (diff)
downloadsci2js-200c4cfb3bd50c0b05fdf5b58c6e3671853cc5ad.tar.gz
sci2js-200c4cfb3bd50c0b05fdf5b58c6e3671853cc5ad.tar.bz2
sci2js-200c4cfb3bd50c0b05fdf5b58c6e3671853cc5ad.zip
fix var when assigning
Diffstat (limited to 'js/Sources/CONST_m.js')
-rw-r--r--js/Sources/CONST_m.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Sources/CONST_m.js b/js/Sources/CONST_m.js
index d53e0870..67ef14df 100644
--- a/js/Sources/CONST_m.js
+++ b/js/Sources/CONST_m.js
@@ -26,7 +26,7 @@ function CONST_m() {
return options;
}
CONST_m.prototype.set = function CONST_m() {
- this.C = parseFloat((arguments[0]["C"]))
+ this.C = inverse((arguments[0]["C"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;