diff options
Diffstat (limited to 'js/Sources/CONST_f.js')
-rw-r--r-- | js/Sources/CONST_f.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Sources/CONST_f.js b/js/Sources/CONST_f.js index edc52303..e5182263 100644 --- a/js/Sources/CONST_f.js +++ b/js/Sources/CONST_f.js @@ -3,7 +3,7 @@ function CONST_f() { CONST_f.prototype.define = function CONST_f() { this.C = 1; this.model = scicos_model(); - this.model.sim = list("cstblk",1); + this.model.sim = list(new ScilabString("cstblk"),new ScilabDouble(1)); this.model.in1 = []; this.model.out = new ScilabDouble(1); this.model.rpar = new ScilabDouble(this.C); |