Skip to content

@opt_out of sum(array, array)#524

Merged
mzgubic merged 5 commits intomasterfrom
mz/optout
Sep 6, 2021
Merged

@opt_out of sum(array, array)#524
mzgubic merged 5 commits intomasterfrom
mz/optout

Conversation

@mzgubic
Copy link
Member

@mzgubic mzgubic commented Sep 3, 2021

closes #522

This will still error if f in sum(f, xs) is a non-callable struct, but we can cross that bridge once (if ever) we actually get to it.

return y, sum_pullback
end

# https://github.com/JuliaDiff/ChainRules.jl/issues/522
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe a one line summary as well?

@github-actions github-actions bot added the needs version bump Version needs to be incremented or set to -DEV in Project.toml label Sep 6, 2021
@github-actions github-actions bot removed the needs version bump Version needs to be incremented or set to -DEV in Project.toml label Sep 6, 2021
@mzgubic mzgubic merged commit 6bf0f30 into master Sep 6, 2021
@mzgubic mzgubic deleted the mz/optout branch September 6, 2021 11:20
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.

sum(f, xs) dispatches on non functions

2 participants