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/CLR_f.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/Linear/CLR_f.js') diff --git a/js/Linear/CLR_f.js b/js/Linear/CLR_f.js index 75c60598..d91ac6e5 100644 --- a/js/Linear/CLR_f.js +++ b/js/Linear/CLR_f.js @@ -12,7 +12,7 @@ function CLR_f() { this.model.in1 = new ScilabDouble([1]); this.model.out = new ScilabDouble([1]); this.model.state = new ScilabDouble([x0]); - this.model.rpar = [[A.slice()],[B.slice()],[C.slice()],[D.slice()]]; + this.model.rpar = new ScilabDouble([A.slice()],[B.slice()],[C.slice()],[D.slice()]); this.model.blocktype = new ScilabString(["c"]); this.model.dep_ut = [false,true]; gr_i = []; @@ -72,7 +72,7 @@ function CLR_f() { x0[ns1-1][1-1] = 0; } this.model.state = x0; - this.model.rpar = rpar; + this.model.rpar = new ScilabDouble(rpar); this.x.graphics = graphics; this.x.model = this.model; break; -- cgit