Skip to content

Commit

Permalink
Remove unneeded lines
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Aug 13, 2021
1 parent ed7dfe1 commit c6efecf
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Test/test_model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ function MOI.get(::BadModel, ::MOI.ListOfModelAttributesSet)
return MOI.AbstractModelAttribute[]
end

MOI.get(::BadModel, ::MOI.NumberOfVariables) = 1

MOI.get(::BadModel, ::MOI.ListOfVariableIndices) = [MOI.VariableIndex(1)]

function MOI.get(::BadModel, ::MOI.ListOfVariableAttributesSet)
Expand Down Expand Up @@ -54,10 +52,6 @@ function MOI.get(
return MOI.EqualTo(0.0)
end

function MOI.get(::BadModel, ::MOI.ListOfConstraintAttributesSet)
return MOI.AbstractConstraintAttribute[]
end

struct BadConstraintModel <: BadModel end

function MOI.get(::BadConstraintModel, ::MOI.ListOfConstraintTypesPresent)
Expand Down

0 comments on commit c6efecf

Please sign in to comment.