summaryrefslogtreecommitdiff
path: root/js/Sources/CONST.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sources/CONST.js')
-rw-r--r--js/Sources/CONST.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Sources/CONST.js b/js/Sources/CONST.js
index af405b98..2c9dae8a 100644
--- a/js/Sources/CONST.js
+++ b/js/Sources/CONST.js
@@ -3,7 +3,7 @@ function CONST() {
CONST.prototype.define = function CONST() {
this.C = 1;
this.model = scicos_model();
- this.model.sim = list("cstblk4",4);
+ this.model.sim = list(new ScilabString("cstblk4"),new ScilabDouble(4));
this.model.in1 = [];
this.model.out = new ScilabDouble(1);
this.model.rpar = new ScilabDouble(this.C);