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

Fixing runtime issues of GeoUtils.calcHaversine #509

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

sebastian-peter
Copy link
Member

@sebastian-peter sebastian-peter commented Nov 28, 2024

Resolves #508

I also created a function that does not use Quantities at all for even fast execution. Also fixed some typos.

Another solution would probably be to port GeoUtils to scala and to use squants then. Don't know if we still have any Java tool that relies on GeoUtils.

@sebastian-peter sebastian-peter added the bug Something isn't working label Nov 28, 2024
@sebastian-peter sebastian-peter added this to the Version 2.2.1 milestone Nov 28, 2024
@sebastian-peter sebastian-peter self-assigned this Nov 28, 2024
Copy link

Passed

Analysis Details

0 Issues

  • Bug 0 Bugs
  • Vulnerability 0 Vulnerabilities
  • Code Smell 0 Code Smells

Coverage and Duplications

  • Coverage 100.00% Coverage (65.70% Estimated after merge)
  • Duplications 0.00% Duplicated Code (0.00% Estimated after merge)

Project ID: edu.ie3:utils

View in SonarQube

@sebastian-peter sebastian-peter marked this pull request as draft November 28, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix catastrophic runtime of GeoUtils.calcHaversine due to Quantities
1 participant