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

Fix: Fix weighted centroid calculation #393

Merged
merged 1 commit into from
Feb 27, 2024
Merged

Conversation

kylebarron
Copy link
Member

The third bug found when looking into #390.

I can't believe I'd never hit this before, but I was using the x coordinate values to update the y value of the weighted centroid. So you'd potentially get this error for any large datasets in the western hemisphere.

@kylebarron kylebarron merged commit b701793 into main Feb 27, 2024
5 checks passed
@kylebarron kylebarron deleted the kyle/fix-weighted-centroid branch February 27, 2024 20:25
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.

None yet

1 participant