Skip to content

Commit 8803495

Browse files
committed
🤖 Format .jl files
1 parent 2380a8d commit 8803495

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,10 @@ end
163163
Update `Δq = -(∇f + 0.5 * (Hx * d)) ⋅ d` in-place.
164164
"""
165165
function compute_Δq(workspace, Hx, d, ∇f) # -(∇f + 0.5 * (nlp_at_x.Hx * d)) ⋅ d
166-
mul!(workspace.Hd, Hx, d)
167-
workspace.Hd .*= 0.5
168-
workspace.Hd .+= ∇f
169-
return -dot(workspace.Hd, d)
166+
mul!(workspace.Hd, Hx, d)
167+
workspace.Hd .*= 0.5
168+
workspace.Hd .+= ∇f
169+
return -dot(workspace.Hd, d)
170170
end
171171

172172
function TRARC(

0 commit comments

Comments
 (0)