From 0d7b0f3e024b9cc899c5d48daa7a5a740a27bf7a Mon Sep 17 00:00:00 2001 From: odow Date: Fri, 17 Sep 2021 15:49:05 +1200 Subject: [PATCH] [Test] fix ListOfConstraintAttributesSet for BadModel --- src/Test/test_model.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Test/test_model.jl b/src/Test/test_model.jl index 2644567960..a6936e635b 100644 --- a/src/Test/test_model.jl +++ b/src/Test/test_model.jl @@ -28,6 +28,10 @@ function MOI.get(::BadModel, ::MOI.ListOfVariableAttributesSet) return MOI.AbstractVariableAttribute[] end +function MOI.get(::BadModel, ::MOI.ListOfConstraintAttributesSet) + return MOI.AbstractConstraintAttribute[] +end + function MOI.get(::BadModel, ::MOI.ListOfConstraintTypesPresent) return [(MOI.VariableIndex, MOI.EqualTo{Float64})] end