Skip to content

Conversation

mcabbott
Copy link
Member

@mcabbott mcabbott commented Apr 10, 2023

Fixes #708.

Maybe this closes JuliaDiff/ChainRulesCore.jl#618 too -- it narrows the cases for which it uses frule_via_ad to those with one real number; perhaps you could allow structs containing one real number, but anything worse won't work.

Failure on 32-bit systems doesn't seem related, also happened before? https://github.com/JuliaDiff/ChainRules.jl/actions/runs/4654246289/jobs/8235815448

@mcabbott mcabbott merged commit 677d528 into JuliaDiff:main Apr 25, 2023
@mcabbott mcabbott deleted the broadcast4 branch April 25, 2023 01:07
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.

Cannot generate frule seed via one(x) unbroadcast fails for Matrix{Tangent} due to zero(::Tangent)

2 participants