diff options
Diffstat (limited to 'js/Linear/GAIN_f.js')
-rw-r--r-- | js/Linear/GAIN_f.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/js/Linear/GAIN_f.js b/js/Linear/GAIN_f.js index a7ea5848..1245e513 100644 --- a/js/Linear/GAIN_f.js +++ b/js/Linear/GAIN_f.js @@ -5,11 +5,11 @@ function GAIN_f() { in1 = 1; out = 1; this.model = scicos_model(); - this.model.sim = new ScilabString("gain"); - this.model.in1 = new ScilabDouble(1); - this.model.out = new ScilabDouble(1); - this.model.rpar = new ScilabDouble(this.gain); - this.model.blocktype = new ScilabString("c"); + this.model.sim = new ScilabString(["gain"]); + this.model.in1 = new ScilabDouble([1]); + this.model.out = new ScilabDouble([1]); + this.model.rpar = new ScilabDouble([this.gain]); + this.model.blocktype = new ScilabString(["c"]); this.model.dep_ut = [true,false]; exprs = [[strcat(sci2exp(this.gain))],[strcat(sci2exp(in1))],[strcat(sci2exp(out))]]; gr_i = []; |