We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
solve(prob::EnsembleProblem
1 parent a390882 commit bf1eeb7Copy full SHA for bf1eeb7
src/solve.jl
@@ -1015,10 +1015,11 @@ function solve_call(prob::SteadyStateProblem,
1015
end
1016
1017
function solve(prob::EnsembleProblem, args...; kwargs...)
1018
- if isempty(args) || length(args) == 1 && typeof(first(args)) <: EnsembleAlgorithm
1019
- __solve(prob, nothing, args...; kwargs...)
+ alg = extract_alg(args, kwargs, prob.kwargs)
+ if length(args) > 1
1020
+ __solve(prob, alg, Base.tail(args)...; kwargs...)
1021
else
- __solve(prob, args...; kwargs...)
1022
+ __solve(prob, alg; kwargs...)
1023
1024
1025
function solve(prob::SciMLBase.WeightedEnsembleProblem, args...; kwargs...)
0 commit comments