Skip to content

Commit

Permalink
Add 'uninitialized' to uninitialized arrays.
Browse files Browse the repository at this point in the history
  • Loading branch information
phrb committed Dec 4, 2017
1 parent 7260872 commit 7062f73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/measurement/measure.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function measure_mean!(tuning_run::Run, x::Configuration)
configurations = Array{Configuration}(tuning_run.cost_evaluations)
configurations = Array{Configuration}(uninitialized, tuning_run.cost_evaluations)
fill!(configurations, deepcopy(x))

pmap_cost(x::Configuration) = tuning_run.cost(x, tuning_run.cost_arguments)
Expand Down

0 comments on commit 7062f73

Please sign in to comment.