summaryrefslogtreecommitdiff
path: root/js/Sources/RAMP.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sources/RAMP.js')
-rw-r--r--js/Sources/RAMP.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Sources/RAMP.js b/js/Sources/RAMP.js
index 625556b1..25aa112e 100644
--- a/js/Sources/RAMP.js
+++ b/js/Sources/RAMP.js
@@ -7,13 +7,13 @@ function RAMP() {
var rpar = [[this.slope],[this.stt],[this.iout]];
this.model = scicos_model();
this.model.sim = list(new ScilabString(["ramp"]), new ScilabDouble([4]));
- this.model.in1 = [];
+ this.model.in1 = new ScilabDouble([]);
this.model.out = new ScilabDouble([1]);
this.model.rpar = new ScilabDouble(rpar);
this.model.blocktype = new ScilabString(["c"]);
this.model.nmode = new ScilabDouble([1]);
this.model.nzcross = new ScilabDouble([1]);
- this.model.dep_ut = [false,true];
+ this.model.dep_ut = new ScilabDouble([false,true]);
var exprs = [string(rpar)];
var gr_i = [];
this.x = standard_define([2,2],this.model,exprs,gr_i);