From d3c29eeeae75893f1e3b3a4f32923d42fcbbe50f Mon Sep 17 00:00:00 2001 From: Jose Daniel Lara Date: Tue, 21 Nov 2023 14:31:17 -0700 Subject: [PATCH] re-enable threads --- src/simulation/realized_meta.jl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/simulation/realized_meta.jl b/src/simulation/realized_meta.jl index cb373cd05a..379a6e6c52 100644 --- a/src/simulation/realized_meta.jl +++ b/src/simulation/realized_meta.jl @@ -87,8 +87,7 @@ function get_realization( lk = ReentrantLock() num_rows = length(meta.realized_timestamps) start = time() - #Threads.@threads - for key in collect(keys(results)) + Threads.@threads for key in collect(keys(results)) results_by_time = results[key] columns = get_column_names(results_by_time) df = _make_dataframe(columns, results_by_time, num_rows, meta, key)