Skip to content

Commit

Permalink
put stats back
Browse files Browse the repository at this point in the history
This most likely got lost in a rebase
  • Loading branch information
Pepijn de Vos committed Nov 8, 2023
1 parent 1d44a66 commit a1370a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ensemble/basic_ensemble_solve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ function __solve(prob::AbstractEnsembleProblem,
elapsed_time = @elapsed u = solve_batch(prob, alg, ensemblealg, 1:trajectories,
pmap_batch_size; kwargs...)
_u = tighten_container_eltype(u)
return EnsembleSolution(_u, elapsed_time, true)
stats = merge_stats(_u)
return EnsembleSolution(_u, elapsed_time, true, stats)
end

converged::Bool = false
Expand Down

0 comments on commit a1370a0

Please sign in to comment.