summaryrefslogtreecommitdiff
path: root/js/NonLinear/INTRPLBLK_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/NonLinear/INTRPLBLK_f.js')
-rw-r--r--js/NonLinear/INTRPLBLK_f.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/js/NonLinear/INTRPLBLK_f.js b/js/NonLinear/INTRPLBLK_f.js
index 3a9a9aff..03022c73 100644
--- a/js/NonLinear/INTRPLBLK_f.js
+++ b/js/NonLinear/INTRPLBLK_f.js
@@ -5,7 +5,7 @@ function INTRPLBLK_f() {
this.b = [[0],[1]];
this.model = scicos_model();
this.model.sim = new ScilabString(["intrpl"]);
- this.model.in1 = new ScilabDouble([1]);
+ this.model.in = new ScilabDouble([1]);
this.model.out = new ScilabDouble([1]);
this.model.rpar = new ScilabDouble([this.a],[this.b]);
this.model.blocktype = new ScilabString(["c"]);
@@ -29,10 +29,7 @@ function INTRPLBLK_f() {
this.a = inverse(arguments[0]["a"])
this.b = inverse(arguments[0]["b"])
this.exprs = arguments[0]["exprs"]
- this.x = arg1;
- this.graphics = arg1.graphics;
this.exprs = this.graphics.exprs;
- this.model = arg1.model;
while (true) {
[ok,this.a,this.b,this.exprs] = scicos_getvalue("Set Interpolation block parameters",["X coord.","Y coord."],list("vec",-1,"vec",-1),this.exprs);
if (!ok) {