summaryrefslogtreecommitdiff
path: root/js/Misc/CONSTRAINT_c.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/Misc/CONSTRAINT_c.js
parent1540e025c411c12cc33107b7be0c8c9cc756ec40 (diff)
downloadsci2js-200c4cfb3bd50c0b05fdf5b58c6e3671853cc5ad.tar.gz
sci2js-200c4cfb3bd50c0b05fdf5b58c6e3671853cc5ad.tar.bz2
sci2js-200c4cfb3bd50c0b05fdf5b58c6e3671853cc5ad.zip
fix var when assigning
Diffstat (limited to 'js/Misc/CONSTRAINT_c.js')
-rw-r--r--js/Misc/CONSTRAINT_c.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Misc/CONSTRAINT_c.js b/js/Misc/CONSTRAINT_c.js
index cc86e346..c236bb4b 100644
--- a/js/Misc/CONSTRAINT_c.js
+++ b/js/Misc/CONSTRAINT_c.js
@@ -24,7 +24,7 @@ function CONSTRAINT_c() {
return options;
}
CONSTRAINT_c.prototype.set = function CONSTRAINT_c() {
- this.x0 = parseFloat((arguments[0]["x0"]))
+ this.x0 = inverse((arguments[0]["x0"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;