Skip to content

Commit c6efecf

Browse files
committed
Remove unneeded lines
1 parent ed7dfe1 commit c6efecf

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Test/test_model.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ function MOI.get(::BadModel, ::MOI.ListOfModelAttributesSet)
2222
return MOI.AbstractModelAttribute[]
2323
end
2424

25-
MOI.get(::BadModel, ::MOI.NumberOfVariables) = 1
26-
2725
MOI.get(::BadModel, ::MOI.ListOfVariableIndices) = [MOI.VariableIndex(1)]
2826

2927
function MOI.get(::BadModel, ::MOI.ListOfVariableAttributesSet)
@@ -54,10 +52,6 @@ function MOI.get(
5452
return MOI.EqualTo(0.0)
5553
end
5654

57-
function MOI.get(::BadModel, ::MOI.ListOfConstraintAttributesSet)
58-
return MOI.AbstractConstraintAttribute[]
59-
end
60-
6155
struct BadConstraintModel <: BadModel end
6256

6357
function MOI.get(::BadConstraintModel, ::MOI.ListOfConstraintTypesPresent)

0 commit comments

Comments
 (0)