summaryrefslogtreecommitdiff
path: root/js/Branching/SWITCH2_m.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Branching/SWITCH2_m.js')
-rw-r--r--js/Branching/SWITCH2_m.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/Branching/SWITCH2_m.js b/js/Branching/SWITCH2_m.js
index 29643871..04dfaa1c 100644
--- a/js/Branching/SWITCH2_m.js
+++ b/js/Branching/SWITCH2_m.js
@@ -21,6 +21,7 @@ function SWITCH2_m() {
exprs = [[sci2exp(1)],[string(ipar)],[string(rpar)],[string(nzz)]];
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
SWITCH2_m.prototype.details = function SWITCH2_m() {
return this.x;
@@ -72,5 +73,6 @@ function SWITCH2_m() {
break;
}
}
+ return new BasicBlock(this.x);
}
}