summaryrefslogtreecommitdiff
path: root/js/Branching/SCALAR2VECTOR.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Branching/SCALAR2VECTOR.js')
-rw-r--r--js/Branching/SCALAR2VECTOR.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/Branching/SCALAR2VECTOR.js b/js/Branching/SCALAR2VECTOR.js
index ab89dbb4..d43edce8 100644
--- a/js/Branching/SCALAR2VECTOR.js
+++ b/js/Branching/SCALAR2VECTOR.js
@@ -33,6 +33,7 @@ function SCALAR2VECTOR() {
this.nout = int(this.nout);
if ((this.nout!=-1&&(this.nout<=0))) {
message("size of output must be -1 or >0");
+ throw "user error";
var ok = false;
}
if (ok) {