KD impl 1

This commit is contained in:
2023-03-09 08:13:38 +00:00
parent cef9024bc5
commit 9f74ec2ef0
5 changed files with 91 additions and 1 deletions
-1
View File
@@ -26,4 +26,3 @@ impl<P: GriddedPosition, S: Storage<P>> Sticker<P, S> for ProbabilisticSticking
.any(|neighbour| space.is_occupied(&neighbour) && rng.gen_range(0.0f32..=1.0) < self.stick_probability)
}
}