boundary fix

This commit is contained in:
nquidox 2026-04-21 20:41:24 +03:00
parent 745ed5cc54
commit 59d1bfb54c

View file

@ -129,7 +129,7 @@ pub fn count_matching_balls(
}
// то же самое для правого
for ri in hit_index..=balls_sorted.len() {
for ri in hit_index..balls_sorted.len() {
if balls_sorted[ri].1.ball_type == hit_ball_type {
right_threshold = ri;
continue;