Skip to content

Commit

Permalink
Update runtests.jl
Browse files Browse the repository at this point in the history
close #124
  • Loading branch information
amontoison committed Mar 25, 2024
1 parent 15ca0e1 commit 521bb10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function test_nls_maximize()
@test nls.meta.minimize == false
stats = knitro(nls, outlev = 0)
@test isapprox(stats.solution, ones(1), rtol = 1e-6)
@test isapprox(stats.objective, 0.5, rtol = 1e-6)
@test isapprox(stats.objective, 0.5, rtol = 1e-5)
@test stats.status == :first_order
end

Expand Down

0 comments on commit 521bb10

Please sign in to comment.