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/CLINDUMMY_f.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/Linear/CLINDUMMY_f.js') diff --git a/js/Linear/CLINDUMMY_f.js b/js/Linear/CLINDUMMY_f.js index e61f81b0..55895e48 100644 --- a/js/Linear/CLINDUMMY_f.js +++ b/js/Linear/CLINDUMMY_f.js @@ -3,7 +3,7 @@ function CLINDUMMY_f() { CLINDUMMY_f.prototype.define = function CLINDUMMY_f() { x0 = 0; this.model = scicos_model(); - this.model.sim = list("cdummy",4); + this.model.sim = list(new ScilabString("cdummy"),new ScilabDouble(4)); this.model.state = new ScilabDouble(x0); this.model.blocktype = new ScilabString("c"); this.model.firing = []; -- cgit