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 CurveBoundary::is_normalized, simplify CurveBoundary::normalize #1991

Merged
merged 4 commits into from
Aug 11, 2023

Conversation

hannobraun
Copy link
Owner

This came out of my work on #1937. I'm using CurveBoundary quite heavily in the code I'm currently writing.

The additional `bool` return value was confusing and easy to misuse.
Callers that need this information can use `is_normalized`, which should
result in clearer (if a bit more verbose) code.
@hannobraun hannobraun merged commit 7681261 into main Aug 11, 2023
4 checks passed
@hannobraun hannobraun deleted the boundary branch August 11, 2023 11:07
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