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/Misc/scifunc_block_m.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'js/Misc/scifunc_block_m.js')

diff --git a/js/Misc/scifunc_block_m.js b/js/Misc/scifunc_block_m.js
index 869b6256..924149d8 100644
--- a/js/Misc/scifunc_block_m.js
+++ b/js/Misc/scifunc_block_m.js
@@ -12,7 +12,7 @@ function scifunc_block_m() {
         this.rpar = [];
         it = 1;
         this.model = scicos_model();
-        this.model.sim = list("scifunc",3);
+        this.model.sim = list(new ScilabString("scifunc"),new ScilabDouble(3));
         this.model.in1 = new ScilabDouble(in1);
         this.model.in2 = new ScilabDouble(in1);
         this.model.intyp = new ScilabDouble(it);
-- 
cgit