summaryrefslogtreecommitdiff
path: root/js/Sources/GEN_SQR.js
diff options
context:
space:
mode:
authorSunil Shetye2018-08-29 17:37:00 +0530
committerSunil Shetye2018-08-29 18:03:04 +0530
commit6a435095be880c696cb975d859ec730046021a75 (patch)
tree92a7831d3dc4ecb878f7bd5c896df50c8244f2ee /js/Sources/GEN_SQR.js
parent352623792d2b9400510599c487540b1e763a7d3c (diff)
downloadsci2js-6a435095be880c696cb975d859ec730046021a75.tar.gz
sci2js-6a435095be880c696cb975d859ec730046021a75.tar.bz2
sci2js-6a435095be880c696cb975d859ec730046021a75.zip
support arg1 parsing
Diffstat (limited to 'js/Sources/GEN_SQR.js')
-rw-r--r--js/Sources/GEN_SQR.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/Sources/GEN_SQR.js b/js/Sources/GEN_SQR.js
index 7e21ad95..dc127a54 100644
--- a/js/Sources/GEN_SQR.js
+++ b/js/Sources/GEN_SQR.js
@@ -55,6 +55,7 @@ function GEN_SQR() {
}
GEN_SQR.prototype.get = function GEN_SQR() {
var y = this.needcompile;
+ this.model.ipar = 1;
var typ = list();
var exprs = this.graphics.exprs;
this.Btitre = "Set GEN_SQR parameters";
@@ -74,6 +75,7 @@ function GEN_SQR() {
}
GEN_SQR.prototype.set = function GEN_SQR() {
var y = this.needcompile;
+ this.model.ipar = 1;
var typ = list();
var exprs = this.graphics.exprs;
this.Btitre = "Set GEN_SQR parameters";