summaryrefslogtreecommitdiff
path: root/js/Linear/DOLLAR_m.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-16 15:29:15 +0530
committerSunil Shetye2018-07-16 15:31:24 +0530
commit5929c9088b6d5dcd23e8bbf9abdc5c9b4a49df1f (patch)
tree8b842ea29c504a11164c39221e948fdaa8fa9035 /js/Linear/DOLLAR_m.js
parent614f18061faa4fc126f0d3577792dd9adfb3f240 (diff)
downloadsci2js-5929c9088b6d5dcd23e8bbf9abdc5c9b4a49df1f.tar.gz
sci2js-5929c9088b6d5dcd23e8bbf9abdc5c9b4a49df1f.tar.bz2
sci2js-5929c9088b6d5dcd23e8bbf9abdc5c9b4a49df1f.zip
treat third argument of standard_define as model expression
Diffstat (limited to 'js/Linear/DOLLAR_m.js')
-rw-r--r--js/Linear/DOLLAR_m.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Linear/DOLLAR_m.js b/js/Linear/DOLLAR_m.js
index 9ccaa250..e33e3d33 100644
--- a/js/Linear/DOLLAR_m.js
+++ b/js/Linear/DOLLAR_m.js
@@ -14,7 +14,7 @@ function DOLLAR_m() {
this.model.blocktype = new ScilabString(["d"]);
this.model.dep_ut = new ScilabBoolean([false,false]);
this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"DOLLAR_m\",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);
return new BasicBlock(this.x);
}
DOLLAR_m.prototype.details = function DOLLAR_m() {