diff options
Diffstat (limited to 'js/Linear/INTEGRAL_m.js')
-rw-r--r-- | js/Linear/INTEGRAL_m.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Linear/INTEGRAL_m.js b/js/Linear/INTEGRAL_m.js index 11639e30..842615a0 100644 --- a/js/Linear/INTEGRAL_m.js +++ b/js/Linear/INTEGRAL_m.js @@ -113,7 +113,7 @@ function INTEGRAL_m() { it = [[1],[ones(this.reinit,1)]]; ot = 1; } else if ((Datatype==2)) { - this.model.state = [[real(this.x0.slice())],[imag(this.x0.slice())]]; + this.model.state = new ScilabDouble([real(this.x0.slice())],[imag(this.x0.slice())]); this.model.sim = list(new ScilabString(["integralz_func"]), new ScilabDouble([4])); it = [[2],[2*ones(this.reinit,1)]]; ot = 2; |