summaryrefslogtreecommitdiff
path: root/data_structures/SELECT_m.js
diff options
context:
space:
mode:
Diffstat (limited to 'data_structures/SELECT_m.js')
-rw-r--r--data_structures/SELECT_m.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/data_structures/SELECT_m.js b/data_structures/SELECT_m.js
index 021f1f3..e4970c8 100644
--- a/data_structures/SELECT_m.js
+++ b/data_structures/SELECT_m.js
@@ -6,8 +6,8 @@ function SELECT_m () {
var nin = 2;
var model = scicos_model();
- model.sim=list("selector_m",4);
- model.in = new ScilabDouble([-1],[-1]);
+ model.sim=list(new ScilabString(["selector_m"]),new ScilabDouble([4]));
+ model.in1 = new ScilabDouble([-1],[-1]);
model.in2 = new ScilabDouble([-2],[-2]);
model.intyp = new ScilabDouble([1]);
model.out = new ScilabDouble([-1]);
@@ -27,4 +27,5 @@ function SELECT_m () {
var gr_i = [];
this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i);
+ return new BasicBlock(this.x)
}