Skip to content

BUG: fix where(cond, float_array, int) #132

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

Merged
merged 2 commits into from
Mar 20, 2025
Merged

Conversation

ev-br
Copy link
Member

@ev-br ev-br commented Mar 6, 2025

This should be allowed by the spec: python int scalars can combine with float arrays.

fixes #131

This should be allowed by the spec: python int scalars can combine with float arrays.
@ev-br ev-br requested a review from betatim March 6, 2025 10:33
@ev-br ev-br added this to the 2.4 milestone Mar 6, 2025
Check that mixing scalars with arrays preserves the dtype
@ev-br ev-br merged commit b061dc2 into data-apis:main Mar 20, 2025
21 checks passed
@ev-br ev-br modified the milestones: 2.4, 2.3.1 Mar 20, 2025
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.

where not following Python scalar promotion rules?
1 participant