Skip to content

Commit

Permalink
undo promotion
Browse files Browse the repository at this point in the history
  • Loading branch information
lxvm committed Dec 30, 2023
1 parent 656da5a commit 089bd83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/problems/basic_problems.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 089bd83

Please sign in to comment.