mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
now supports single subdivisions in zobov
This commit is contained in:
parent
add61229cb
commit
d3cf95bec3
3 changed files with 9 additions and 6 deletions
|
@ -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];
|
||||
|
|
|
@ -50,10 +50,11 @@ 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[2];
|
||||
outDir = argv[3];
|
||||
if (sscanf(argv[4],"%d",&mockIndex) != 1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue