summaryrefslogtreecommitdiff
path: root/js/Branching/GOTO.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Branching/GOTO.js')
-rw-r--r--js/Branching/GOTO.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Branching/GOTO.js b/js/Branching/GOTO.js
index e3ed8c22..d83ec85d 100644
--- a/js/Branching/GOTO.js
+++ b/js/Branching/GOTO.js
@@ -15,7 +15,7 @@ function GOTO() {
this.model.dep_ut = new ScilabDouble([false,false]);
this.exprs = [["A"],[sci2exp(1)]];
this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"GOTO\",sz(1),sz(2));"]);
- this.x = standard_define([2,1],this.model,this.exprs,this.gr_i);
+ this.x = new standard_define(new ScilabDouble([2,1]),this.model,this.exprs,this.gr_i);
this.x.graphics.id = "Goto";
return new BasicBlock(this.x);
}