Skip to content

Conversation

@tovogt
Copy link
Collaborator

@tovogt tovogt commented Oct 18, 2023

Changes proposed in this PR:

  • Fix the dist_approx util function when used with method="geosphere" and log=True.
  • This only affects very small input values, i.e. computing the distance between points that are very close. I added a unit test for that case. I also added a test case where points are identical because I think that this is a kind of sanity check that should be included.

PR Author Checklist

PR Reviewer Checklist

@tovogt tovogt changed the title Feature/fix dist approx geosphere Fix dist_approx with "geosphere" method and close points Oct 18, 2023
@chahank chahank requested a review from viggowat October 18, 2023 09:38
@emanuel-schmid
Copy link
Collaborator

Looks good to me. Obviously fixes a bug.

@emanuel-schmid emanuel-schmid merged commit f362c2b into develop Oct 30, 2023
@emanuel-schmid emanuel-schmid deleted the feature/fix_dist_approx_geosphere branch October 30, 2023 07:53
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.

3 participants