Skip to content

Fix shapely return types coming from numpy ufuncs #14231

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hamdanal
Copy link
Contributor

@hamdanal hamdanal commented Jun 7, 2025

The changed functions are implemented using numpy ufuncs and so they return numpy scalars instead of python scalars. I checked each function individually in an interactive console to get its correct return type.

This comment has been minimized.

Copy link
Contributor

github-actions bot commented Jun 7, 2025

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

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