Skip to content

fix: clippy warnings in the kNN module - #8

Merged
ianfd merged 1 commit into
mainfrom
leiden-0.7.0
Aug 1, 2026
Merged

fix: clippy warnings in the kNN module#8
ianfd merged 1 commit into
mainfrom
leiden-0.7.0

Conversation

@ianfd

@ianfd ianfd commented Aug 1, 2026

Copy link
Copy Markdown
Member

small changes

The knn feature never had clippy run against it — anndists doesn't build on
aarch64-darwin, so local runs are all --no-default-features. CI on ubuntu found
four:

- a duplicated `knn_search_start` binding, the first immediately shadowed
- two `for j in 0..K` loops indexing a `[T; K]`, now iter_mut().enumerate()
- manual div_ceil

Unverifiable locally for the same reason, so CI is the check.
@ianfd
ianfd merged commit 7bf25cc into main Aug 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant