summaryrefslogtreecommitdiff
path: root/data_structures/LOOKUP_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'data_structures/LOOKUP_f.js')
-rw-r--r--data_structures/LOOKUP_f.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/data_structures/LOOKUP_f.js b/data_structures/LOOKUP_f.js
index b6a242f..b31e361 100644
--- a/data_structures/LOOKUP_f.js
+++ b/data_structures/LOOKUP_f.js
@@ -3,7 +3,7 @@ function LOOKUP_f () {
var model = scicos_model();
model.sim = new ScilabString(["lookup"]);
- model.in = new ScilabDouble([1]);
+ model.in1 = new ScilabDouble([1]);
model.out = new ScilabDouble([1]);
model.rpar = new ScilabDouble([-2],[-1],[1],[2],[-1],[1],[-1],[1]);
model.blocktype = new ScilabString(["c"]);
@@ -11,4 +11,5 @@ function LOOKUP_f () {
var gr_i = [];
this.x=new standard_define(new ScilabDouble([2,2]),model,[],gr_i);
+ return new BasicBlock(this.x)
}