From 0047c3bea1d86b12a08544f6f0833c63e77f6eac Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Wed, 11 Jul 2018 15:19:38 +0530 Subject: support vector also --- js/Branching/GotoTagVisibility.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'js/Branching/GotoTagVisibility.js') diff --git a/js/Branching/GotoTagVisibility.js b/js/Branching/GotoTagVisibility.js index 87317add..7f10aaa2 100644 --- a/js/Branching/GotoTagVisibility.js +++ b/js/Branching/GotoTagVisibility.js @@ -3,17 +3,17 @@ function GotoTagVisibility() { GotoTagVisibility.prototype.define = function GotoTagVisibility() { this.model = scicos_model(); this.model.sim = new ScilabString(["gototagvisibility"]); - this.model.in1 = []; - this.model.in2 = []; - this.model.out = []; - this.model.out2 = []; - this.model.evtin = []; + this.model.in1 = new ScilabDouble([]); + this.model.in2 = new ScilabDouble([]); + this.model.out = new ScilabDouble([]); + this.model.out2 = new ScilabDouble([]); + this.model.evtin = new ScilabDouble([]); this.model.intyp = new ScilabDouble([1]); this.model.outtyp = new ScilabDouble([1]); this.model.opar = list(new ScilabString(["A"])); this.model.blocktype = new ScilabString(["c"]); this.model.firing = new ScilabBoolean([false]); - this.model.dep_ut = [false,false]; + this.model.dep_ut = new ScilabDouble([false,false]); var exprs = "A"; var gr_i = []; this.x = standard_define([2,2],this.model,exprs,gr_i); -- cgit