Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/indextypes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ index.value == MOI.get(model, MOI.ConstraintFunction(), index).variable.value
struct ConstraintIndex{F,S}
value::Int64
end
index_value(ci::ConstraintIndex) = ci.value

"""
VariableIndex
Expand All @@ -30,7 +29,6 @@ To allow for deletion, indices need not be consecutive.
struct VariableIndex
value::Int64
end
index_value(vi::VariableIndex) = vi.value

# The default hash is slow. It's important for the performance of dictionaries
# of VariableIndices to define our own.
Expand Down