From e4ce984a92e2c61b567c4594903833dbf63629f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Thu, 12 Dec 2024 20:05:21 +0100 Subject: [PATCH] [Bridges] use variable_start in Bridges.runtests (#2592) --- src/Bridges/Bridges.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bridges/Bridges.jl b/src/Bridges/Bridges.jl index 740dfee5bf..4fd65842e2 100644 --- a/src/Bridges/Bridges.jl +++ b/src/Bridges/Bridges.jl @@ -300,7 +300,7 @@ function runtests( x = MOI.get(model, MOI.ListOfVariableIndices()) MOI.set(model, attr, x, fill(nothing, length(x))) Test.@test all(isnothing, MOI.get(model, attr, x)) - primal_start = fill(constraint_start, length(x)) + primal_start = fill(variable_start, length(x)) MOI.set(model, attr, x, primal_start) if !isempty(x) # ≈ does not work if x is empty because the return of get is Any[]