diff options
Diffstat (limited to 'js/Linear/INTEGRAL_f.js')
-rw-r--r-- | js/Linear/INTEGRAL_f.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/Linear/INTEGRAL_f.js b/js/Linear/INTEGRAL_f.js index 5c4b7197..4c0836d1 100644 --- a/js/Linear/INTEGRAL_f.js +++ b/js/Linear/INTEGRAL_f.js @@ -25,17 +25,17 @@ function INTEGRAL_f() { INTEGRAL_f.prototype.set = function INTEGRAL_f() { this.x0 = parseFloat(arguments[0]["x0"]) this.x = arg1; - var graphics = arg1.graphics; - var exprs = graphics.exprs; + this.graphics = arg1.graphics; + var exprs = this.graphics.exprs; this.model = arg1.model; while (true) { [ok,this.x0,exprs] = scicos_getvalue("Set continuous linear system parameters","Initial state",list("vec",1),exprs); if (!ok) { break; } - graphics.exprs = exprs; + this.graphics.exprs = new ScilabDouble([exprs]); this.model.state = new ScilabDouble([this.x0]); - this.x.graphics = graphics; + this.x.graphics = this.graphics; this.x.model = this.model; break; } |