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 7322169b..c63e5823 100644
--- a/js/Sources/STEP.js
+++ b/js/Sources/STEP.js
@@ -15,7 +15,7 @@ function STEP() {
this.model.dep_ut = new ScilabDouble([false,false]);
this.exprs = [[string(1)],[string(rpar)]];
this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"STEP\",sz(1),sz(2));"]);
- this.x = standard_define([2,2],this.model,this.exprs,this.gr_i);
+ this.x = new standard_define(new ScilabDouble([2,2]),this.model,this.exprs,this.gr_i);
return new BasicBlock(this.x);
}
STEP.prototype.details = function STEP() {