summaryrefslogtreecommitdiff
path: root/js/NonLinear/LOOKUP_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/NonLinear/LOOKUP_f.js')
-rw-r--r--js/NonLinear/LOOKUP_f.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/js/NonLinear/LOOKUP_f.js b/js/NonLinear/LOOKUP_f.js
index 986ab6d5..b81270c8 100644
--- a/js/NonLinear/LOOKUP_f.js
+++ b/js/NonLinear/LOOKUP_f.js
@@ -3,7 +3,7 @@ function LOOKUP_f() {
LOOKUP_f.prototype.define = function LOOKUP_f() {
this.model = scicos_model();
this.model.sim = new ScilabString(["lookup"]);
- this.model.in1 = new ScilabDouble([1]);
+ this.model.in = new ScilabDouble([1]);
this.model.out = new ScilabDouble([1]);
this.model.rpar = new ScilabDouble([-2],[-1],[1],[2],[-1],[1],[-1],[1]);
this.model.blocktype = new ScilabString(["c"]);
@@ -21,10 +21,7 @@ function LOOKUP_f() {
return options;
}
LOOKUP_f.prototype.set = function LOOKUP_f() {
- this.x = arg1;
- this.graphics = arg1.graphics;
this.exprs = this.graphics.exprs;
- this.model = arg1.model;
var rpar = this.model.rpar;
var n = size(rpar,"*")/2;
var xx = rpar.slice(1-1,n);