JuliaDiff / JuliaDiff/ChainRulesTestUtils.jl
`test_rrule` leads to `MethodError: Base.ArithmeticStyle(::Type{Union{}}) is ambiguous`
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 50
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
I don't have a MWE, but the original case was here: https://github.com/JuliaDiff/ChainRules.jl/pull/570/files#diff-14d216cb53721d9360bbbcc399d93fff67f2594bd388162abbbe82c59ad1ba9fR236.
Maybe https://github.com/JuliaDiff/ChainRules.jl/pull/570/commits/944ccedc52b0fa41d48c04dab4dfa6f5a5565678#diff-14d216cb53721d9360bbbcc399d93fff67f2594bd388162abbbe82c59ad1ba9fR236 is the right link.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining the test_rrule case at the referenced ChainRules.jl pull request diff and commit, since no MWE is provided in this issue. Reproduce the Base.ArithmeticStyle(::Type{Union{}}) ambiguity and confirm that the relevant test completes without the MethodError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100