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/PDE/PDE.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/PDE') diff --git a/js/PDE/PDE.js b/js/PDE/PDE.js index 3ad6f38a..9e6318d6 100644 --- a/js/PDE/PDE.js +++ b/js/PDE/PDE.js @@ -4,7 +4,7 @@ function PDE() { this.model = scicos_model(); this.model.state = new ScilabDouble([zeros(10,1)]); this.model.sim = list(new ScilabString(["PDE"]), new ScilabDouble([0])); - this.model.in1 = [[1],[1],[1],[1],[1]]; + this.model.in1 = new ScilabDouble([1],[1],[1],[1],[1]); this.model.out = new ScilabDouble([10],[0]); this.model.blocktype = new ScilabString(["c"]); this.model.dep_ut = [false,true]; -- cgit