From cdde71d9a3d8dcb0f46a0978a596b11e05cf9743 Mon Sep 17 00:00:00 2001 From: dfridovi Date: Sun, 17 Nov 2024 22:25:06 -0600 Subject: [PATCH] fix compiler err --- src/mcp.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)