From aabd535925f24c6203eb1a0dcc5b28d9670133de Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Wed, 11 Jul 2018 10:44:34 +0530 Subject: show type for matrix also --- js/Linear/DELAYV_f.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/Linear/DELAYV_f.js') diff --git a/js/Linear/DELAYV_f.js b/js/Linear/DELAYV_f.js index 32b88214..cfadf33e 100644 --- a/js/Linear/DELAYV_f.js +++ b/js/Linear/DELAYV_f.js @@ -10,7 +10,7 @@ function DELAYV_f() { this.model.in1 = [[this.nin],[1]]; this.model.out = new ScilabDouble([this.nin]); this.model.evtin = new ScilabDouble([1]); - this.model.evtout = [[1],[1]]; + this.model.evtout = new ScilabDouble([1],[1]); this.model.dstate = new ScilabDouble([z0]); this.model.rpar = new ScilabDouble([this.T/(size(this.zz0,"*"))]); this.model.blocktype = new ScilabString(["d"]); @@ -62,7 +62,7 @@ function DELAYV_f() { } if (ok) { graphics.exprs = exprs; - this.model.dstate = [[this.zz0.slice()],[told]]; + this.model.dstate = new ScilabDouble([this.zz0.slice()],[told]); this.model.rpar = new ScilabDouble([this.T/(size(this.zz0,"*"))]); this.x.graphics = graphics; this.x.model = this.model; -- cgit