Skip to content

Commit

Permalink
undo change
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscoey committed Feb 7, 2024
1 parent ddae85e commit f08bfbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Cones/epitrrelentropytri.jl
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ function dder3(
# v
d3WlogVdV!(d3WlogVdV, Δ3_V, V_λ, V_dir_sim, cone.W_sim, mat)
svec_to_smat!(V_part_1, V_part_1a, rt2)
rdiv!(V_dir_sim, Diagonal(sqrt.(V_λ)))
@. V_dir_sim /= sqrt(V_λ)'
ldiv!(Diagonal(V_λ), V_dir_sim)
V_part_2 = d3WlogVdV
@. V_part_2 += diff_dot_V_VW + diff_dot_V_VW'
Expand All @@ -475,7 +475,7 @@ function dder3(
svec_to_smat!(W_part_1, W_part_1a, rt2)
spectral_outer!(mat2, V_vecs, Hermitian(diff_dot_V_VV, :U), mat)
axpby!(true, mat2, const0, W_part_1)
rdiv!(W_dir_sim, Diagonal(sqrt.(W_λ)))
@. W_dir_sim /= sqrt(W_λ)'
ldiv!(Diagonal(W_λ), W_dir_sim)
W_part_2 = diff_dot_W_WW
mul!(W_part_2, W_dir_sim, W_dir_sim', true, -zi)
Expand Down

0 comments on commit f08bfbf

Please sign in to comment.