summaryrefslogtreecommitdiff
path: root/js/Misc/scifunc_block.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/scifunc_block.js')
-rw-r--r--js/Misc/scifunc_block.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Misc/scifunc_block.js b/js/Misc/scifunc_block.js
index a68de77f..45da6f37 100644
--- a/js/Misc/scifunc_block.js
+++ b/js/Misc/scifunc_block.js
@@ -11,7 +11,7 @@ function scifunc_block() {
auto = [];
this.rpar = [];
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.out = new ScilabDouble(out);
this.model.evtin = clkin;