From 5929c9088b6d5dcd23e8bbf9abdc5c9b4a49df1f Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 16 Jul 2018 15:29:15 +0530 Subject: treat third argument of standard_define as model expression --- js/Linear/INTEGRAL.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/Linear/INTEGRAL.js') diff --git a/js/Linear/INTEGRAL.js b/js/Linear/INTEGRAL.js index b2237506..b2aabccd 100644 --- a/js/Linear/INTEGRAL.js +++ b/js/Linear/INTEGRAL.js @@ -14,7 +14,7 @@ function INTEGRAL() { this.model.dep_ut = new ScilabBoolean([false,true]); this.exprs = string([[0],[0],[0],[this.maxp],[minp]]); this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"INTEGRAL\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([2,2]),this.model,this.exprs,this.gr_i); + this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabString([this.exprs]),this.gr_i); this.x.graphics.id = "1/s"; return new BasicBlock(this.x); } -- cgit