Skip to content

Commit e1a383c

Browse files
committed
Fix bug in NLS test
1 parent fa92144 commit e1a383c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_stats.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ test_stats()
166166
end
167167

168168
@testset "Test get_status for NLS" begin
169-
nlp = ADNLSModel(x -> [x], ones(2), 2)
169+
nlp = ADNLSModel(x -> x, ones(2), 2)
170170
@test get_status(nlp, optimal = true) == :first_order
171171
@test get_status(nlp, small_residual = true) == :small_residual
172172
@test get_status(nlp, infeasible = true) == :infeasible

0 commit comments

Comments
 (0)