Skip to content

Commit 6493ee8

Browse files
authored
Debug tests in Ipopt 1.7 (#124)
* Debug tests in Ipopt 1.7
1 parent 5f7b1af commit 6493ee8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function tests()
4040
nlp = ADNLPModel(x -> (x[1] - 1)^2 + 100 * (x[2] - x[1]^2)^2, [-1.2; 1.0])
4141
stats = ipopt(nlp, tol = 1e-12, callback = callback, print_level = 0)
4242
@test stats.status == :user
43-
@test stats.solver_specific[:internal_msg] == :User_Requested_Stop
43+
@test first(stats.solver_specific[:internal_msg]) == :User_Requested_Stop
4444
@test stats.iter == 1
4545
@test stats.elapsed_time > 0
4646

0 commit comments

Comments
 (0)