Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fallible Indices constructor #5

Merged
merged 4 commits into from
May 25, 2022
Merged

Add fallible Indices constructor #5

merged 4 commits into from
May 25, 2022

Conversation

foresterre
Copy link
Owner

No description provided.

Checks against incorrect initialisation of the initial Indices. Incorrect initialisation could result in out of bounds behaviour when running the bisector in release mode. In debug mode, Indices::from_bisector will panic instead.
@foresterre foresterre changed the title Document cases where Indices::from_bisector may induce unexpected results Add fallible Indices constructor May 25, 2022
@foresterre
Copy link
Owner Author

bors r+

@foresterre foresterre merged commit 108cb86 into main May 25, 2022
@foresterre foresterre deleted the fallible-new-indices branch May 25, 2022 18:52
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