summaryrefslogtreecommitdiff
path: root/js/Branching/FROMMO.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Branching/FROMMO.js')
-rw-r--r--js/Branching/FROMMO.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/Branching/FROMMO.js b/js/Branching/FROMMO.js
index 7563b8d0..e80abb71 100644
--- a/js/Branching/FROMMO.js
+++ b/js/Branching/FROMMO.js
@@ -3,16 +3,16 @@ function FROMMO() {
FROMMO.prototype.define = function FROMMO() {
this.model = scicos_model();
this.model.sim = new ScilabString(["frommo"]);
- this.model.in1 = [];
- this.model.in2 = [];
+ this.model.in1 = new ScilabDouble([]);
+ this.model.in2 = new ScilabDouble([]);
this.model.intyp = new ScilabDouble([1]);
this.model.out = new ScilabDouble([-1]);
this.model.out2 = new ScilabDouble([-2]);
this.model.outtyp = new ScilabDouble([-1]);
- this.model.ipar = [];
+ this.model.ipar = new ScilabDouble([]);
this.model.opar = list(new ScilabString(["A"]));
this.model.blocktype = new ScilabString(["c"]);
- this.model.dep_ut = [false,false];
+ this.model.dep_ut = new ScilabDouble([false,false]);
var mo = modelica();
mo.model = "frommo";
mo.outputs = "n";