summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fracture.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/fracture.c b/src/fracture.c
index c2b2a34..73059ff 100644
--- a/src/fracture.c
+++ b/src/fracture.c
@@ -103,8 +103,8 @@ int main(int argc, char *argv[]) {
lattice_c = 'v';
break;
case 1:
- lattice = SQUARE_LATTICE;
- lattice_c = 's';
+ lattice = DIAGONAL_LATTICE;
+ lattice_c = 'd';
break;
case 2:
lattice = VORONOI_HYPERUNIFORM_LATTICE;
@@ -114,8 +114,12 @@ int main(int argc, char *argv[]) {
lattice = TRIANGULAR_LATTICE;
lattice_c = 't';
break;
+ case 4:
+ lattice = SQUARE_LATTICE;
+ lattice_c = 's';
+ break;
default:
- printf("lattice specifier must be 0 (VORONOI_LATTICE), 1 (SQUARE_LATTICE), or 2 (VORONOI_HYPERUNIFORM_LATTICE).\n");
+ printf("lattice specifier must be 0 (VORONOI_LATTICE), 1 (DIAGONAL_LATTICE), or 2 (VORONOI_HYPERUNIFORM_LATTICE).\n");
exit(EXIT_FAILURE);
}
break;