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: Avoid NPE when computing suggestions for improvements #731

Merged
merged 2 commits into from
May 1, 2024

Conversation

ggiraldez
Copy link
Member

When providers are located in an area outside of the friction data (most commonly in a coast) but still fall inside the region contour (because it has better resolution), the engine will fail to compute any demand information for it. This lead to and NPE in the suggestions algorithm when computing the relative cost of such providers.

When providers are located in an area outside of the friction data (most
commonly in a coast) but still fall inside the region contour (because it has
better resolution), the engine will fail to compute any demand information for
it. This lead to and NPE in the suggestions algorithm when computing the
relative cost of such providers.
@ggiraldez ggiraldez merged commit 7a10252 into main May 1, 2024
4 checks passed
@ggiraldez ggiraldez deleted the fix/npe-getting-improve-suggestions branch May 1, 2024 00:40
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.

1 participant