summaryrefslogtreecommitdiff
path: root/js/Linear/INTEGRAL_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Linear/INTEGRAL_f.js')
-rw-r--r--js/Linear/INTEGRAL_f.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/js/Linear/INTEGRAL_f.js b/js/Linear/INTEGRAL_f.js
index 36995956..7b027f9d 100644
--- a/js/Linear/INTEGRAL_f.js
+++ b/js/Linear/INTEGRAL_f.js
@@ -4,7 +4,7 @@ function INTEGRAL_f() {
this.x0 = 0;
this.model = scicos_model();
this.model.sim = new ScilabString(["integr"]);
- this.model.in1 = new ScilabDouble([1]);
+ this.model.in = new ScilabDouble([1]);
this.model.out = new ScilabDouble([1]);
this.model.state = new ScilabDouble([this.x0]);
this.model.blocktype = new ScilabString(["c"]);
@@ -25,10 +25,7 @@ function INTEGRAL_f() {
INTEGRAL_f.prototype.set = function INTEGRAL_f() {
this.x0 = parseFloat(arguments[0]["x0"])
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.x0,this.exprs] = scicos_getvalue("Set continuous linear system parameters","Initial state",list("vec",1),this.exprs);
if (!ok) {