-
Notifications
You must be signed in to change notification settings - Fork 24
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
LatLon(missing, missing) triggers a stack overflow error #47
Comments
Lines 33 to 37 in 2774631
Oh that's not so nice behavior. I'm guessing that method should also be restricted to LatLon(lat::Number, lon::Number) = LatLon(promote(lat, lon)...) |
Yes, for the short term, let's do that! @austinlostinboston For the moment, you might have better luck considering thet |
All good suggestions and thanks for the help @visr and @andyferris! |
now it gives a MethodError instead fixes #47
This doesn't seem like an intended result for passing
missing
toLatLon
. At the very least, this should trigger an internal exception within Geodesy. There also might be a greater question of whether aLatLon(missing, missing)
should be allowed to exist.The text was updated successfully, but these errors were encountered: