summaryrefslogtreecommitdiff
path: root/js/Branching/SWITCH2_m.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-11 10:44:34 +0530
committerSunil Shetye2018-07-11 15:21:08 +0530
commitaabd535925f24c6203eb1a0dcc5b28d9670133de (patch)
tree73c1021fb17dfdf86f088d930311a007cb3f2120 /js/Branching/SWITCH2_m.js
parentdc097af448d4ed55d685c5e87c8cffb70b7fb20a (diff)
downloadsci2js-aabd535925f24c6203eb1a0dcc5b28d9670133de.tar.gz
sci2js-aabd535925f24c6203eb1a0dcc5b28d9670133de.tar.bz2
sci2js-aabd535925f24c6203eb1a0dcc5b28d9670133de.zip
show type for matrix also
Diffstat (limited to 'js/Branching/SWITCH2_m.js')
-rw-r--r--js/Branching/SWITCH2_m.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Branching/SWITCH2_m.js b/js/Branching/SWITCH2_m.js
index c557205a..4f78bc26 100644
--- a/js/Branching/SWITCH2_m.js
+++ b/js/Branching/SWITCH2_m.js
@@ -7,7 +7,7 @@ function SWITCH2_m() {
this.model = scicos_model();
this.model.sim = list(new ScilabString(["switch2_m"]), new ScilabDouble([4]));
this.model.in1 = [[-1],[1],[-1]];
- this.model.in2 = [[-2],[1],[-2]];
+ this.model.in2 = new ScilabDouble([-2],[1],[-2]);
this.model.intyp = new ScilabDouble([1]);
this.model.out = new ScilabDouble([-1]);
this.model.out2 = new ScilabDouble([-2]);