Skip to content

Fix incircle issuees #22

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

Merged
merged 1 commit into from
Oct 29, 2024
Merged

Conversation

DanielVandH
Copy link
Member

Fixes #20. I didn't change the incircle method to the one I implemented at JuliaGeometry/AdaptivePredicates.jl#21 but I fixed the conditions for allocating (see the issue). I also fixed the inbounds issues by porting over the new versions of the arithmetic functions I implemented at AdaptivePredicates.jl. The safe_getindex is necessary unfortunately, even early into the function.

JuliaGeometry/AdaptivePredicates.jl#21 gives some benchmarks with this approach to show that the speed is still good.

@DanielVandH
Copy link
Member Author

I can't imagine that test failure on 1.8 has anything to do with this PR?

@dgleich
Copy link
Collaborator

dgleich commented Sep 23, 2024

That appears to be a JET failure, so not related to this PR.

This looks good, thanks for it!

@DanielVandH
Copy link
Member Author

Did you intend to merge this with your comment @dgleich?

@dgleich dgleich merged commit 2af19cb into JuliaGeometry:master Oct 29, 2024
2 of 5 checks passed
@dgleich
Copy link
Collaborator

dgleich commented Oct 29, 2024

Thanks for the nudge. Merged.

@DanielVandH DanielVandH deleted the incircleissues branch October 29, 2024 05:24
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.

incircle issues
2 participants