summaryrefslogtreecommitdiff
path: root/js/Misc/HYSTHERESIS.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/HYSTHERESIS.js')
-rw-r--r--js/Misc/HYSTHERESIS.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Misc/HYSTHERESIS.js b/js/Misc/HYSTHERESIS.js
index 6965253e..04951691 100644
--- a/js/Misc/HYSTHERESIS.js
+++ b/js/Misc/HYSTHERESIS.js
@@ -30,7 +30,7 @@ model=arg1.model;
while (true) {
[ok,high_lim,low_lim,out_high,out_low,nzz,exprs]=scicos_getvalue("Set parameters",["switch on at","switch off at","output when on","output when off","use zero crossing: yes (1), no (0)"],list("vec",1,"vec",1,"vec",1,"vec",1,"vec",1),exprs);
if (!ok) {
-break
+break;
}
if (low_lim>high_lim) {
message("switch on value must be larger than switch off value");
@@ -43,7 +43,7 @@ nzz=2;
model.nzcross=nzz;
x.graphics=graphics;
x.model=model;
-break
+break;
}
}
}