Skip to content

broadcast: align ndims implementation with intent behind code#56999

Merged
N5N3 merged 5 commits intoJuliaLang:masterfrom
nsajko:ndims_broadcasted
Jan 10, 2025
Merged

broadcast: align ndims implementation with intent behind code#56999
N5N3 merged 5 commits intoJuliaLang:masterfrom
nsajko:ndims_broadcasted

Conversation

@nsajko
Copy link
Copy Markdown
Member

@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
Comment thread base/broadcast.jl Outdated
@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
Comment thread base/broadcast.jl Outdated
Comment thread base/broadcast.jl Outdated
@nsajko nsajko force-pushed the ndims_broadcasted branch from f5afe58 to 5f43d7d Compare January 9, 2025 06:58
Comment thread base/broadcast.jl Outdated
@nsajko nsajko force-pushed the ndims_broadcasted branch from 827581d to e5b8d16 Compare January 9, 2025 16:41
@N5N3 N5N3 merged commit d3964b6 into JuliaLang:master Jan 10, 2025
@nsajko nsajko deleted the ndims_broadcasted branch January 10, 2025 09:18
KristofferC pushed a commit that referenced this pull request Jan 13, 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.

(cherry picked from commit d3964b6)
@KristofferC KristofferC mentioned this pull request Jan 28, 2025
33 tasks
@KristofferC KristofferC removed the backport 1.11 Change should be backported to release-1.11 label Jan 28, 2025
nsajko added a commit to nsajko/julia that referenced this pull request Feb 9, 2025
…aLang#56999)

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

Follow up on JuliaLang#44061. Also xref JuliaLang#45477.

(cherry picked from commit d3964b6)
@KristofferC KristofferC mentioned this pull request Mar 11, 2025
75 tasks
@DilumAluthge DilumAluthge mentioned this pull request Sep 13, 2025
71 tasks
@KristofferC KristofferC mentioned this pull request Feb 20, 2026
45 tasks
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 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.

5 participants