summaryrefslogtreecommitdiff
path: root/js/Sources/CLOCK_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sources/CLOCK_f.js')
-rw-r--r--js/Sources/CLOCK_f.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/Sources/CLOCK_f.js b/js/Sources/CLOCK_f.js
index 3ebc7d0c..df9054ba 100644
--- a/js/Sources/CLOCK_f.js
+++ b/js/Sources/CLOCK_f.js
@@ -74,6 +74,7 @@ function CLOCK_f() {
}
if (this.dt<=0) {
message("period must be positive");
+ throw "user error";
var ok = false;
}
if (ok) {