diff options
Diffstat (limited to 'js/Linear/SUM_f.js')
-rw-r--r-- | js/Linear/SUM_f.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/Linear/SUM_f.js b/js/Linear/SUM_f.js index a4c1c57a..289364dd 100644 --- a/js/Linear/SUM_f.js +++ b/js/Linear/SUM_f.js @@ -7,9 +7,9 @@ function SUM_f() { this.model.out = new ScilabDouble([-1]); this.model.blocktype = new ScilabString(["c"]); this.model.dep_ut = new ScilabBoolean([true,false]); - this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"SUM_f\",sz(1),sz(2));"]); - this.exprs = []; - this.x = new standard_define(new ScilabDouble([1,1]),this.model,new ScilabDouble(this.exprs),this.gr_i); + var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"SUM_f\",sz(1),sz(2));"]); + var exprs = []; + this.x = new standard_define(new ScilabDouble([1,1]),this.model,new ScilabDouble(exprs),gr_i); return new BasicBlock(this.x); } SUM_f.prototype.details = function SUM_f() { |