Skip to content

Commit 1dec15a

Browse files
committed
no copy in DEFAULT_PROB_FUNC
1 parent cf5a1f8 commit 1dec15a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ensemble/ensemble_problems.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ end
1212

1313
DEFAULT_PROB_FUNC(prob,i,repeat) = prob
1414
DEFAULT_OUTPUT_FUNC(sol,i) = (sol,false)
15-
DEFAULT_REDUCTION(u,data,I) = push!(copy(u), data), false
15+
DEFAULT_REDUCTION(u,data,I) = push!(u, data), false
1616
EnsembleProblem(prob;
1717
output_func = DEFAULT_OUTPUT_FUNC,
1818
prob_func= DEFAULT_PROB_FUNC,

0 commit comments

Comments
 (0)