cleanup Buf struct

This commit is contained in:
2025-03-27 14:35:54 -04:00
parent 75fab93907
commit d1f515b17d
2 changed files with 9 additions and 5 deletions

View File

@@ -71,7 +71,7 @@ impl Grid {
height,
data,
config: PopulationConfig::new(rng),
buf: Buf::new(width, height, vec![0.0; width * height]),
buf: Buf::new(width, height),
blur: Blur::new(width),
agents,
}