From 0e9bc36f45fa1bb598c6ebb0febc1989439a8d98 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Wed, 11 Jul 2018 12:04:43 +0530 Subject: include in in modelvar --- js/Linear/SUMMATION.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/Linear/SUMMATION.js') diff --git a/js/Linear/SUMMATION.js b/js/Linear/SUMMATION.js index f6258a04..a56677db 100644 --- a/js/Linear/SUMMATION.js +++ b/js/Linear/SUMMATION.js @@ -4,7 +4,7 @@ function SUMMATION() { this.sgn = [[1],[-1]]; this.model = scicos_model(); this.model.sim = list(new ScilabString(["summation"]), new ScilabDouble([4])); - this.model.in1 = [[-1],[-1]]; + this.model.in1 = new ScilabDouble([-1],[-1]); this.model.out = new ScilabDouble([-1]); this.model.in2 = new ScilabDouble([-2],[-2]); this.model.out2 = new ScilabDouble([-2]); -- cgit