diff options
author | Sunil Shetye | 2018-07-09 18:10:31 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-10 11:24:53 +0530 |
commit | 9b18945e2e2348db85595fb096a1e1eba04f9baf (patch) | |
tree | bb13cffc501f152b1d33870bdeff6f274aecbf7b /js/Sinks/OUTIMPL_f.js | |
parent | f19304a4fe99556c5ddc35024c818d00ffe7e23a (diff) | |
download | sci2js-9b18945e2e2348db85595fb096a1e1eba04f9baf.tar.gz sci2js-9b18945e2e2348db85595fb096a1e1eba04f9baf.tar.bz2 sci2js-9b18945e2e2348db85595fb096a1e1eba04f9baf.zip |
remove type from list
Diffstat (limited to 'js/Sinks/OUTIMPL_f.js')
-rw-r--r-- | js/Sinks/OUTIMPL_f.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/Sinks/OUTIMPL_f.js b/js/Sinks/OUTIMPL_f.js index b0e9595d..68bb28fa 100644 --- a/js/Sinks/OUTIMPL_f.js +++ b/js/Sinks/OUTIMPL_f.js @@ -5,14 +5,14 @@ function OUTIMPL_f() { this.model.in1 = [-1]; this.model.in2 = [1]; this.prt = 1; - this.model.sim = new ScilabString("outimpl"); + this.model.sim = new ScilabString(["outimpl"]); this.model.ipar = [1]; - this.model.blocktype = new ScilabString("c"); + this.model.blocktype = new ScilabString(["c"]); this.model.dep_ut = [false,false]; mo = modelica(); mo.model = "PORT"; mo.inputs = "n"; - this.model.equations = new ScilabDouble(mo); + this.model.equations = new ScilabDouble([mo]); exprs = "1"; gr_i = []; this.x = standard_define([1,1],this.model,exprs,gr_i); @@ -49,7 +49,7 @@ function OUTIMPL_f() { needcompile = 4; y = needcompile; } - this.model.ipar = new ScilabDouble(this.prt); + this.model.ipar = new ScilabDouble([this.prt]); graphics.exprs = exprs; this.x.graphics = graphics; this.x.model = this.model; |