summaryrefslogtreecommitdiff
path: root/js/Threshold
diff options
context:
space:
mode:
Diffstat (limited to 'js/Threshold')
-rw-r--r--js/Threshold/ZCROSS_f.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Threshold/ZCROSS_f.js b/js/Threshold/ZCROSS_f.js
index f84335bf..acb978fe 100644
--- a/js/Threshold/ZCROSS_f.js
+++ b/js/Threshold/ZCROSS_f.js
@@ -17,7 +17,7 @@ if (in1<=0) {
message("Block must have at least one input");
} else {
kk=0;
-for(jj=1;jj<=in1;jj+=1) {
+for (jj=1;jj<=in1;jj+=1) {
kk=kk+2^(in1+jj-1);
}
model.rpar=[-ones(kk,1),zeros(2^(2*in1)-kk,1)];