Skip to content

Conversation

@Neclow
Copy link
Collaborator

@Neclow Neclow commented Jan 26, 2026

  • Refactored the loop that inserts leaves into their own descendant sets in get_bipartitions to use .iter_mut().enumerate().take(n_leaves) for better readability and idiomatic Rust.
  • Updated assertions in tests to use the more idiomatic contains method with range patterns instead of chained comparisons for checking value ranges. [1] [2]

@Neclow Neclow merged commit 4bb65da into sbhattlab:main Jan 26, 2026
9 checks passed
@Neclow Neclow deleted the refactor/distance_linter_warnings branch January 26, 2026 14:50
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