Skip to content

Commit

Permalink
fixed numerical bug in filter sanity checks
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowk29 committed Apr 29, 2016
1 parent 96b32c4 commit d6201a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io.c
Expand Up @@ -627,7 +627,7 @@ void read_config(configuration *config, FILE *logfile)
else if (config->order < 2)
{
printf("Bessel filters of order <2 are not supported, defaulting to 2\n");
config->order = 10;
config->order = 2;
}
else if (config->order % 2 == 1)
{
Expand Down

0 comments on commit d6201a9

Please sign in to comment.