From b97fa74af20f3ddd352353fba13185eb34ca271c Mon Sep 17 00:00:00 2001 From: Lily Iliana Luna Ylva Anderson Grigaitis Date: Mon, 14 Apr 2025 16:35:08 -0500 Subject: [PATCH] Fixed mistake that generated too many points in lattice. --- quasi_lattices_3d/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quasi_lattices_3d/src/main.rs b/quasi_lattices_3d/src/main.rs index 962f3f2..f5409fc 100644 --- a/quasi_lattices_3d/src/main.rs +++ b/quasi_lattices_3d/src/main.rs @@ -42,7 +42,7 @@ fn main() { for i in 0..DIMENSION { let mut new_points = points.clone(); for point in &points { - for j in 0..SIZE { + for j in 1..SIZE { let mut new_point = point.clone(); new_point[i] = j as f32; new_points.push(new_point);