Skip to content

Commit

Permalink
Update src/bijectors/corr.jl
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
torfjelde and github-actions[bot] authored Jun 3, 2024
1 parent 010c695 commit c1dbb30
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/bijectors/corr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,6 @@ function _inv_link_chol_lkj_rrule(y::AbstractMatrix)
K = LinearAlgebra.checksquare(y)
y_vec = Bijectors._triu_to_vec(y, 1)
W_logJ, back = _inv_link_chol_lkj_reverse(y_vec)

function pullback_inv_link_chol_lkj(ΔW_ΔlogJ)
return update_triu_from_vec(_triu_to_vec(back(ΔW_ΔlogJ), 1), 1, K)
end
Expand Down

0 comments on commit c1dbb30

Please sign in to comment.