From 0047c3bea1d86b12a08544f6f0833c63e77f6eac Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Wed, 11 Jul 2018 15:19:38 +0530 Subject: support vector also --- js/Sources/INIMPL_f.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'js/Sources/INIMPL_f.js') diff --git a/js/Sources/INIMPL_f.js b/js/Sources/INIMPL_f.js index 5a5ce339..a74a358e 100644 --- a/js/Sources/INIMPL_f.js +++ b/js/Sources/INIMPL_f.js @@ -3,10 +3,10 @@ function INIMPL_f() { INIMPL_f.prototype.define = function INIMPL_f() { this.model = scicos_model(); this.model.sim = new ScilabString(["inimpl"]); - this.model.out = [-1]; - this.model.out2 = [1]; - this.model.ipar = [1]; - this.model.dep_ut = [false,false]; + this.model.out = new ScilabDouble([-1]); + this.model.out2 = new ScilabDouble([1]); + this.model.ipar = new ScilabDouble([1]); + this.model.dep_ut = new ScilabDouble([false,false]); this.model.blocktype = new ScilabString(["c"]); var mo = modelica(); mo.model = "PORT"; -- cgit