Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Sep 21, 2023
1 parent 3448e28 commit 3fa1e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utilities/model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ constraint index to name. The special value
constraints have the same name.
"""
function build_name_to_con_map(con_to_name::Dict{<:MOI.ConstraintIndex,String})
name_to_con = Dict{String,<:MOI.ConstraintIndex}()
name_to_con = Dict{String,MOI.ConstraintIndex}()
for (con, con_name) in con_to_name
if haskey(name_to_con, con_name)
name_to_con[con_name] = MOI.ConstraintIndex{Nothing,Nothing}(0)
Expand Down

0 comments on commit 3fa1e3b

Please sign in to comment.