now supports single subdivisions in zobov

This commit is contained in:
P.M. Sutter 2016-01-19 12:58:00 -06:00
parent add61229cb
commit d3cf95bec3
3 changed files with 9 additions and 6 deletions

View file

@ -59,9 +59,9 @@ int main(int argc, char *argv[]) {
printf("That's no number of divisions; try again.\n");
exit(0);
}
if (numdiv < 2) {
printf("Cannot have a number of divisions less than 2. Resetting to 2:\n");
numdiv = 2;
if (numdiv < 1) {
printf("Cannot have a number of divisions less than 1. Resetting to 1:\n");
numdiv = 1;
}
suffix = argv[5];