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/SUMMATION.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/Linear/SUMMATION.js') diff --git a/js/Linear/SUMMATION.js b/js/Linear/SUMMATION.js index dc3d3136..f6258a04 100644 --- a/js/Linear/SUMMATION.js +++ b/js/Linear/SUMMATION.js @@ -6,9 +6,9 @@ function SUMMATION() { this.model.sim = list(new ScilabString(["summation"]), new ScilabDouble([4])); this.model.in1 = [[-1],[-1]]; this.model.out = new ScilabDouble([-1]); - this.model.in2 = [[-2],[-2]]; + this.model.in2 = new ScilabDouble([-2],[-2]); this.model.out2 = new ScilabDouble([-2]); - this.model.ipar = this.sgn; + this.model.ipar = new ScilabDouble(this.sgn); this.model.blocktype = new ScilabString(["c"]); this.model.dep_ut = [true,false]; exprs = sci2exp(this.sgn); -- cgit