From 74d86b4ae5879f4886c97e61d128b23625b2f3e0 Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Thu, 7 Nov 2024 11:20:30 +1300 Subject: [PATCH] Update src/variables.jl --- src/variables.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/variables.jl b/src/variables.jl index c32648dcf35..0d4a3546481 100644 --- a/src/variables.jl +++ b/src/variables.jl @@ -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