JuliaDiff / JuliaDiff/ChainRules.jl
Audit use of `zeros` vs `Zero`
Open
Nobody has claimed this yet.
design
performance
- Dominant language
- Julia
- Stars
- 475
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
Description
Some of the code used
zero(X), or @thunk(zero(X))
I feel like if Zero is working right we should be able to replace that with Zero()
E.g.
https://github.com/JuliaDiff/ChainRules.jl/blob/master/test/rules/linalg/factorization.jl
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
Search the repository for zero(X) and @thunk(zero(X)), then inspect the example in test/rules/linalg/factorization.jl. Determine which uses can be replaced with Zero() and confirm the relevant tests still pass; done means the applicable uses are audited and updated consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100