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.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Sources/RAMP.js b/js/Sources/RAMP.js
index e3ad460e..a6fc7582 100644
--- a/js/Sources/RAMP.js
+++ b/js/Sources/RAMP.js
@@ -6,7 +6,7 @@ function RAMP() {
this.stt = 0;
rpar = [[this.slope],[this.stt],[this.iout]];
this.model = scicos_model();
- this.model.sim = list("ramp",4);
+ this.model.sim = list(new ScilabString("ramp"),new ScilabDouble(4));
this.model.in1 = [];
this.model.out = new ScilabDouble(1);
this.model.rpar = rpar;