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

#2778 - Simplify code in 2D minkowski_sum #3327

Merged
merged 2 commits into from
May 18, 2023
Merged

#2778 - Simplify code in 2D minkowski_sum #3327

merged 2 commits into from
May 18, 2023

Conversation

schillic
Copy link
Member

Closes #2778.

This PR removes the workaround for the "unreachable reached" Julia bug (which is still around). The solution is to just use a different dispatch. For that the method _minkowski_sum_vrep_2d had to be changed. It tried to be generic in VT but was not. The vector R was filled with Vector{N}s, so unless VT was Vector{N} (or a supertype like AbstractVector{N}, but that would be strange), the code would crash.

@schillic schillic marked this pull request as ready for review May 18, 2023 05:19
@schillic schillic merged commit 61e1d3b into master May 18, 2023
6 checks passed
@schillic schillic deleted the schillic/2778 branch May 18, 2023 14:38
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.

Simplify code in 2D minkowski_sum (after Julia error gets fixed)
2 participants