Skip to content

Add rrule for spdiagm #10

Add rrule for spdiagm

Add rrule for spdiagm #10

Triggered via pull request October 23, 2023 15:53
Status Failure
Total duration 2m 42s
Artifacts

format.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 3 warnings
format
Process completed with exit code 1.
format: src/rulesets/SparseArrays/sparsematrix.jl#L141
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/rulesets/SparseArrays/sparsematrix.jl:141:- src/rulesets/SparseArrays/sparsematrix.jl:142:-function rrule(::typeof(spdiagm), m::Integer, n::Integer, kv::Pair{<:Integer,<:AbstractVector}...) src/rulesets/SparseArrays/sparsematrix.jl:143:- src/rulesets/SparseArrays/sparsematrix.jl:152:+function rrule( src/rulesets/SparseArrays/sparsematrix.jl:153:+ ::typeof(spdiagm), m::Integer, n::Integer, kv::Pair{<:Integer,<:AbstractVector}... src/rulesets/SparseArrays/sparsematrix.jl:154:+)
format: test/rulesets/SparseArrays/sparsematrix.jl#L35
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: test/rulesets/SparseArrays/sparsematrix.jl:35:- ∂a_fd, ∂b_fd, ∂c_fd = j′vp(_fdm, (a, b, c) -> spdiagm(0 => a, 1 => b, 0 => c), ȳ, a, b, c) test/rulesets/SparseArrays/sparsematrix.jl:35:+ ∂a_fd, ∂b_fd, ∂c_fd = j′vp( test/rulesets/SparseArrays/sparsematrix.jl:36:+ _fdm, (a, b, c) -> spdiagm(0 => a, 1 => b, 0 => c), ȳ, a, b, c test/rulesets/SparseArrays/sparsematrix.jl:37:+ )
format: test/rulesets/SparseArrays/sparsematrix.jl#L56
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: test/rulesets/SparseArrays/sparsematrix.jl:56:- ∂a_fd, ∂b_fd, ∂c_fd = j′vp(_fdm, (a, b, c) -> spdiagm(M, N, 0 => a, 1 => b, 0 => c), ȳ, a, b, c) test/rulesets/SparseArrays/sparsematrix.jl:58:+ ∂a_fd, ∂b_fd, ∂c_fd = j′vp( test/rulesets/SparseArrays/sparsematrix.jl:59:+ _fdm, (a, b, c) -> spdiagm(M, N, 0 => a, 1 => b, 0 => c), ȳ, a, b, c test/rulesets/SparseArrays/sparsematrix.jl:60:+ )