summaryrefslogtreecommitdiff
path: root/js/NonLinear/EXPBLK_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/NonLinear/EXPBLK_f.js')
-rw-r--r--js/NonLinear/EXPBLK_f.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/NonLinear/EXPBLK_f.js b/js/NonLinear/EXPBLK_f.js
index 1291451c..2b4cc440 100644
--- a/js/NonLinear/EXPBLK_f.js
+++ b/js/NonLinear/EXPBLK_f.js
@@ -34,6 +34,7 @@ function EXPBLK_f() {
}
if (or(this.a<=0)) {
message("a^u : a must be positive");
+ throw "user error";
} else {
this.graphics.exprs = new ScilabDouble([this.exprs]);
this.model.rpar = new ScilabDouble([this.a]);