summaryrefslogtreecommitdiff
path: root/js/Sources/STEP.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sources/STEP.js')
-rw-r--r--js/Sources/STEP.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Sources/STEP.js b/js/Sources/STEP.js
index af7fb2cc..3672850d 100644
--- a/js/Sources/STEP.js
+++ b/js/Sources/STEP.js
@@ -3,7 +3,7 @@ function STEP() {
STEP.prototype.define = function STEP() {
rpar = [[0],[1]];
this.model = scicos_model();
- this.model.sim = list("step_func",4);
+ this.model.sim = list(new ScilabString("step_func"),new ScilabDouble(4));
this.model.evtin = new ScilabDouble(1);
this.model.evtout = new ScilabDouble(1);
this.model.out = new ScilabDouble(1);