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/NonLinear/PROD_f.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/NonLinear/PROD_f.js') diff --git a/js/NonLinear/PROD_f.js b/js/NonLinear/PROD_f.js index 5d6903f4..ead16ab5 100644 --- a/js/NonLinear/PROD_f.js +++ b/js/NonLinear/PROD_f.js @@ -7,7 +7,7 @@ function PROD_f() { this.model.out = new ScilabDouble([-1]); this.model.blocktype = new ScilabString(["c"]); this.model.dep_ut = new ScilabBoolean([true,false]); - this.x = new standard_define(new ScilabDouble([1,1]),this.model,[],[]); + this.x = new standard_define(new ScilabDouble([1,1]),this.model,new ScilabDouble([]),[]); return new BasicBlock(this.x); } PROD_f.prototype.details = function PROD_f() { -- cgit