diff options
Diffstat (limited to 'js/Misc/generic_block3.js')
-rw-r--r-- | js/Misc/generic_block3.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Misc/generic_block3.js b/js/Misc/generic_block3.js index d2f1d8c3..22ff6155 100644 --- a/js/Misc/generic_block3.js +++ b/js/Misc/generic_block3.js @@ -4,7 +4,7 @@ function generic_block3() { this.model = scicos_model(); this.function_name = "sinblk"; this.funtyp = 4; - this.model.sim = list(this.function_name,this.funtyp); + this.model.sim = list(new ScilabString(this.function_name),new ScilabDouble(this.funtyp)); this.model.in1 = new ScilabDouble(1); this.model.in2 = new ScilabDouble(1); this.model.intyp = new ScilabDouble(1); @@ -124,7 +124,7 @@ function generic_block3() { if (this.funtyp==3) { needcompile = 4; } - this.model.sim = list(this.function_name,this.funtyp); + this.model.sim = list(new ScilabDouble(this.function_name),new ScilabDouble(this.funtyp)); this.model.state = this.xx; this.model.dstate = this.z; this.model.odstate = new ScilabDouble(this.oz); |