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, 2 insertions, 0 deletions
diff --git a/js/Sources/RAMP.js b/js/Sources/RAMP.js
index 7453d2d0..ef936b69 100644
--- a/js/Sources/RAMP.js
+++ b/js/Sources/RAMP.js
@@ -17,6 +17,7 @@ function RAMP() {
exprs = [string(rpar)];
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
RAMP.prototype.details = function RAMP() {
return this.x;
@@ -43,5 +44,6 @@ function RAMP() {
break;
}
}
+ return new BasicBlock(this.x);
}
}