diff --git a/src/slack-model.jl b/src/slack-model.jl index 285dab5..8032c99 100644 --- a/src/slack-model.jl +++ b/src/slack-model.jl @@ -133,7 +133,11 @@ function slack_meta(meta::AbstractNLPModelMeta{T, S}; name = meta.name * "-slack x0[(meta.nvar + 1):end] .= zero(T) if (length(x0) != length(lvar)) && any((meta.lcon .== -Inf) .& (meta.ucon .== Inf)) - throw(error("NLPModels with constraints of the form -∞ ≤ cᵢ(x) ≤ ∞ are not supported by slack models.")) + throw( + error( + "NLPModels with constraints of the form -∞ ≤ cᵢ(x) ≤ ∞ are not supported by slack models.", + ), + ) end return NLPModelMeta{T, S}(