From 089bd836841726833bc659f83f9b20f31ce3593d Mon Sep 17 00:00:00 2001 From: lxvm Date: Sat, 30 Dec 2023 02:59:40 -0800 Subject: [PATCH] undo promotion --- src/problems/basic_problems.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/problems/basic_problems.jl b/src/problems/basic_problems.jl index 993af4418..cd35498a5 100644 --- a/src/problems/basic_problems.jl +++ b/src/problems/basic_problems.jl @@ -468,7 +468,7 @@ end @deprecate IntegralProblem(f::AbstractIntegralFunction, lb::Union{Number,AbstractVector{<:Number}}, ub::Union{Number,AbstractVector{<:Number}}, - p = NullParameters(); kwargs...) IntegralProblem(f, promote(lb, ub), p; kwargs...) + p = NullParameters(); kwargs...) IntegralProblem(f, (lb, ub), p; kwargs...) function IntegralProblem(f, args...; nout = nothing, batch = nothing, kwargs...) if nout !== nothing || batch !== nothing