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

broadcast: align ndims implementation with intent behind code #56999

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

nsajko
Copy link
Contributor

@nsajko nsajko commented Jan 8, 2025

The N<:Integer constraint was nonsensical, given that (N === Any) || (N isa Int). N5N3 noticed this back in 2022: #44061 (comment)

Follow up on #44061. Also xref #45477.

@nsajko nsajko added arrays [a, r, r, a, y, s] bugfix This change fixes an existing bug broadcast Applying a function over a collection labels Jan 8, 2025
base/broadcast.jl Outdated Show resolved Hide resolved
@nsajko nsajko force-pushed the ndims_broadcasted branch from f179208 to f53d3a2 Compare January 8, 2025 20:46
@nsajko nsajko added backport 1.10 Change should be backported to the 1.10 release backport 1.11 Change should be backported to release-1.11 labels Jan 8, 2025
@nsajko nsajko requested a review from N5N3 January 8, 2025 22:33
base/broadcast.jl Outdated Show resolved Hide resolved
base/broadcast.jl Outdated Show resolved Hide resolved
@nsajko nsajko force-pushed the ndims_broadcasted branch from f5afe58 to 5f43d7d Compare January 9, 2025 06:58
base/broadcast.jl Outdated Show resolved Hide resolved
@nsajko nsajko force-pushed the ndims_broadcasted branch from 827581d to e5b8d16 Compare January 9, 2025 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrays [a, r, r, a, y, s] backport 1.10 Change should be backported to the 1.10 release backport 1.11 Change should be backported to release-1.11 broadcast Applying a function over a collection bugfix This change fixes an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants