summaryrefslogtreecommitdiff
path: root/js/Sinks/AFFICH_m.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sinks/AFFICH_m.js')
-rw-r--r--js/Sinks/AFFICH_m.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/Sinks/AFFICH_m.js b/js/Sinks/AFFICH_m.js
index 5a202dce..a71d6f4b 100644
--- a/js/Sinks/AFFICH_m.js
+++ b/js/Sinks/AFFICH_m.js
@@ -71,6 +71,7 @@ function AFFICH_m() {
}
if (!ok) {
message([["Some specified values are inconsistent:"],[" "],[mess]]);
+ throw "user error";
}
if (!or(this.herit==[0,1])) {
var mess = [[mess],["Accept inherited values are 0 and 1"],[" "]];
@@ -78,6 +79,7 @@ function AFFICH_m() {
}
if (!ok) {
message([["Some specified values are inconsistent:"],[" "],[mess]]);
+ throw "user error";
}
if (ok) {
var tmpvar0 = set_io(this.model,this.graphics,list(this.in1,1),list(),ones(1-this.herit,1),[]);