Skip to content

Commit

Permalink
🤖 Format .jl files (#272)
Browse files Browse the repository at this point in the history
Co-authored-by: geoffroyleconte <[email protected]>
  • Loading branch information
github-actions[bot] and geoffroyleconte authored Mar 1, 2023
1 parent df68461 commit 320283a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DiagonalHessianApproximation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function push!(
# sᵀBs = sᵀy can be scaled by ||s||² without changing the update
s = (si / s0Norm for si s0)
s2 = (si^2 for si s)
y = (yi / s0Norm for yi y0)
y = (yi / s0Norm for yi y0)
trA2 = dot(s2, s2)
sT_y = dot(s, y)
sT_B_s = dot(s2, B.d)
Expand Down

0 comments on commit 320283a

Please sign in to comment.