From e42abd4995792a2ac9e9a56b70793d06b819e302 Mon Sep 17 00:00:00 2001 From: odow Date: Fri, 18 Oct 2024 13:32:57 +1300 Subject: [PATCH] Update --- test/test_Flux.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_Flux.jl b/test/test_Flux.jl index 7987d62..c46b777 100644 --- a/test/test_Flux.jl +++ b/test/test_Flux.jl @@ -290,7 +290,7 @@ function test_gray_box_vector_output_hessian() @test length(y) == 2 @objective(model, Max, sum(y)) optimize!(model) - @test termination_status(model) == ITERATION_LIMIT + @test termination_status(model) in (LOCALLY_SOLVED, ITERATION_LIMIT) @test isapprox(value.(y), chain(Float32.(value.(x))); atol = 1e-2) return end