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

Remove type piracy in isnan #68

Merged
merged 1 commit into from
Sep 23, 2020
Merged

Conversation

yha
Copy link
Contributor

@yha yha commented Jul 7, 2020

min.(p, vmin), max.(p, vmax)
end

# Annoying special case for view(Vector{Point}, Vector{Face})
function minmax(tup::Tuple, vmin, vmax)
for p in tup
isnan(p) && continue
any(isnan, p) && continue
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure if this change is necessary (because I don't understand how this method is supposed to be called), but I don't think it hurts either.

@SimonDanisch SimonDanisch merged commit 969f56a into JuliaGeometry:master Sep 23, 2020
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