boundary fix
This commit is contained in:
parent
745ed5cc54
commit
59d1bfb54c
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue