summaryrefslogtreecommitdiff
path: root/js/NonLinear/MIN_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/NonLinear/MIN_f.js')
-rw-r--r--js/NonLinear/MIN_f.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/NonLinear/MIN_f.js b/js/NonLinear/MIN_f.js
index 4656728b..7a157259 100644
--- a/js/NonLinear/MIN_f.js
+++ b/js/NonLinear/MIN_f.js
@@ -4,7 +4,7 @@ function MIN_f() {
var in1 = -1;
this.model = scicos_model();
this.model.sim = new ScilabString(["minblk"]);
- this.model.in1 = new ScilabDouble([in1]);
+ this.model.in = new ScilabDouble([in1]);
this.model.out = new ScilabDouble([1]);
this.model.dstate = new ScilabDouble([0],[0]);
this.model.blocktype = new ScilabString(["c"]);
@@ -23,7 +23,6 @@ function MIN_f() {
return options;
}
MIN_f.prototype.set = function MIN_f() {
- this.x = arg1;
return new BasicBlock(this.x);
}
}