Permalink
Browse files

Fixed bug where zapbirds was trying to zap 0 bins.

  • Loading branch information...
1 parent aa42d1a commit d526ba24abd6a7267291ee0711b7002de5953611 Paul Scholz committed Oct 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/zapbirds.c
View
@@ -292,7 +292,7 @@ int main(int argc, char *argv[])
fftfile = chkfopen(cmd->argv[0], "rb+");
for (ii = 0; ii < numbirds; ii++) {
- if (bird_lobins[ii] >= hibin)
+ if (bird_lobins[ii] >= hibin - 1)
break;
if (bird_hibins[ii] >= hibin)
bird_hibins[ii] = hibin - 1;

0 comments on commit d526ba2

Please sign in to comment.