diff --git a/src/mcp.jl b/src/mcp.jl index 8b504dd..d1bdf30 100644 --- a/src/mcp.jl +++ b/src/mcp.jl @@ -96,7 +96,7 @@ function PrimalDualMCP( lower_bounds::Vector, upper_bounds::Vector; backend_options = (;) -) + ) where {T<:Union{FD.Node,Symbolics.Num}} assert( all(isinf.(lower_bounds)) && all(isinf.(upper_bounds) .|| upper_bounds .== 0)