Skip to content

Commit 740a693

Browse files
Update src/R2N.jl
Co-authored-by: Dominique <[email protected]>
1 parent 56f8b0b commit 740a693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/R2N.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ function R2N(
151151
mk1(d) = φ1(d) + ψ(d)
152152

153153
# model for subsequent prox-gradient steps and ξ
154-
φ(d) = (d' * (Bk * d)) / 2 + ∇fk' * d + σk * dot(d, d) / 2
154+
φ(d) = ∇fk' * d + dot(d, Bk * d) / 2 + σk * dot(d, d) / 2
155155

156156
∇φ!(g, d) = begin
157157
mul!(g, Bk, d)

0 commit comments

Comments
 (0)