From 526b18b7668e85eaaa4e0e7452260093c9dda802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Thu, 12 Dec 2024 17:29:05 +0100 Subject: [PATCH] Use variable_start in Bridges.runtests --- 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[]