You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can see here that this error is raised because the first element of geo_coord is not a float. This is very confusing behavior (especially considering rg.get((40.5, -80)) works perfectly fine) and the error message is not helpful.
I think this function should be able to handle all real numerical types (or at least float and int), and the error message should be improved.
I'll submit a PR for this soon unless anyone has any reasoning against this.
The text was updated successfully, but these errors were encountered:
When using
rg.get
like so:the following error is raised:
You can see here that this error is raised because the first element of
geo_coord
is not a float. This is very confusing behavior (especially consideringrg.get((40.5, -80))
works perfectly fine) and the error message is not helpful.I think this function should be able to handle all real numerical types (or at least
float
andint
), and the error message should be improved.I'll submit a PR for this soon unless anyone has any reasoning against this.
The text was updated successfully, but these errors were encountered: