From f19304a4fe99556c5ddc35024c818d00ffe7e23a Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 9 Jul 2018 17:07:46 +0530 Subject: handle list separately --- js/Linear/TIME_DELAY.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/Linear/TIME_DELAY.js') diff --git a/js/Linear/TIME_DELAY.js b/js/Linear/TIME_DELAY.js index ce36dfc9..963504ab 100644 --- a/js/Linear/TIME_DELAY.js +++ b/js/Linear/TIME_DELAY.js @@ -6,7 +6,7 @@ function TIME_DELAY() { this.init = 0; this.N = 1024; this.model = scicos_model(); - this.model.sim = list("time_delay",4); + this.model.sim = list(new ScilabString("time_delay"),new ScilabDouble(4)); this.model.in1 = [nin]; this.model.out = new ScilabDouble(nin); this.model.rpar = [this.T,this.init]; -- cgit