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

#781 - Intersection emptiness check for two half-spaces #782

Merged
merged 3 commits into from
Oct 14, 2018

Conversation

schillic
Copy link
Member

Closes #781.

@schillic schillic requested a review from mforets October 13, 2018 16:58
Copy link
Member

@mforets mforets left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, nicely done!

i had some doubts about the type instability in samedir (not using zero(N) etc).

if you approve my changes i think it is good to merge.

@schillic
Copy link
Member Author

i had some doubts about the type instability in samedir (not using zero(N) etc).

Yes, but if you have 1 / 2 (of type Int), then the result will be a Float64. The implementation will anyway not work due to numerical issues. We should maybe add a general way to specify a tolerance.

@mforets
Copy link
Member

mforets commented Oct 14, 2018

i agree; using N<:AbstractFloat seems reasonable in those cases too.

@schillic schillic merged commit 53b778c into master Oct 14, 2018
@schillic schillic deleted the schillic/781 branch October 14, 2018 09:54
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.

2 participants