Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Mar 7, 2024
1 parent f872cc8 commit 19b83ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/moi/constraints.jl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function MOI.add_constraint(
f::MOI.VariableIndex,
set::S,
) where {S<:Bounds{Float64}}
check_variable_indices(model, vi)
check_variable_indices(model, f)
variable_info = find_variable_info(model, f)
set_bounds(variable_info, set)
return MOI.ConstraintIndex{MOI.VariableIndex,S}(f.value)
Expand Down

0 comments on commit 19b83ee

Please sign in to comment.