Skip to content

Commit 761c82c

Browse files
authored
Merge pull request #1432 from ElOceanografo/ElOceanografo-logabsdet
Remove @adjoint for logabsdet
2 parents e2d7839 + b03590b commit 761c82c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/lib/array.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,8 +376,6 @@ function _pullback(cx::AContext, ::typeof(kron), a::AbstractMatrix, b::AbstractM
376376
return res, back unthunk_tangent
377377
end
378378

379-
@adjoint logabsdet(xs::AbstractMatrix) = logabsdet(xs), Δ -> (Δ[1] * inv(xs)',)
380-
381379
@adjoint function inv(A::Union{Number, AbstractMatrix})
382380
Ainv = inv(A)
383381
return Ainv, function (Δ)

0 commit comments

Comments
 (0)