Fixed mistake that generated too many points in lattice.

This commit is contained in:
2025-04-14 16:35:08 -05:00
parent da003eadb5
commit b97fa74af2

View File

@@ -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);