summaryrefslogtreecommitdiff
path: root/js/NonLinear/MIN_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/NonLinear/MIN_f.js')
-rw-r--r--js/NonLinear/MIN_f.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/NonLinear/MIN_f.js b/js/NonLinear/MIN_f.js
index 9f3f872d..8c93a501 100644
--- a/js/NonLinear/MIN_f.js
+++ b/js/NonLinear/MIN_f.js
@@ -9,9 +9,9 @@ function MIN_f() {
this.model.dstate = new ScilabDouble([0],[0]);
this.model.blocktype = new ScilabString(["c"]);
this.model.dep_ut = new ScilabBoolean([true,false]);
- this.exprs = sci2exp(in1);
- this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MIN_f\",sz(1),sz(2));"]);
- this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabString([this.exprs]),this.gr_i);
+ var exprs = sci2exp(in1);
+ var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"MIN_f\",sz(1),sz(2));"]);
+ this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabString([exprs]),gr_i);
return new BasicBlock(this.x);
}
MIN_f.prototype.details = function MIN_f() {