Skip to content

Commit 9d51161

Browse files
committed
another try to hit the last 3 lines.
1 parent 5eaec72 commit 9d51161

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

test/solvers/test_quasi_Newton.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,9 @@ end
488488
)
489489
# current bound with the gradient is 2, so we choose an sk larger than that
490490
qns.sk = [1.0, 1.1]
491+
# push one dummy pair we can transport
492+
push!(qdu.memory_y, [1, 2])
493+
push!(qdu.memory_s, [3, 4])
491494
# This triggers and cautious update that does not update the Hessian
492495
Manopt.update_hessian!(qns.direction_update, mp, qns, p, 1)
493496
# But I am not totally sure what to test for afterwards

0 commit comments

Comments
 (0)