From 7c33a61b5b232439a45def032496498838f7ae3e Mon Sep 17 00:00:00 2001 From: odow Date: Wed, 27 Dec 2023 10:58:02 +1300 Subject: [PATCH] Fix --- test/test_nlp_expr.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_nlp_expr.jl b/test/test_nlp_expr.jl index b0b1665d5d2..12132407b54 100644 --- a/test/test_nlp_expr.jl +++ b/test/test_nlp_expr.jl @@ -1015,7 +1015,7 @@ function test_convert_vector_aff_expr() @variable(model, x) @test [sin(x), x] isa Vector{NonlinearExpr} @test [sin(x), x + 1] isa Vector{NonlinearExpr} - @test [sin(x), AffExpr(x)] isa Vector{NonlinearExpr} + @test [sin(x), convert(AffExpr, x)] isa Vector{NonlinearExpr} return end