summaryrefslogtreecommitdiff
path: root/js/Sinks/OUTIMPL_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sinks/OUTIMPL_f.js')
-rw-r--r--js/Sinks/OUTIMPL_f.js8
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;