Skip to content

Commit

Permalink
Update src/variables.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Nov 6, 2024
1 parent c4d4ac8 commit 74d86b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/variables.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1985,7 +1985,7 @@ function _moi_add_constrained_variable(
moi_backend::MOI.ModelLike,
::Nothing,
set::Tuple{MOI.GreaterThan{T},MOI.LessThan{T}}
) where {T}
) where {T<:Real}
x, _ = MOI.add_constrained_variable(moi_backend, set)
return x
end
Expand Down

0 comments on commit 74d86b4

Please sign in to comment.