Commit 1dad209a authored by Tiago Peixoto's avatar Tiago Peixoto

Fix compilation error with OpenMP

parent 16d85651
......@@ -308,7 +308,7 @@ struct get_avg_correlation
int i, N = num_vertices(g);
#pragma omp parallel for default(shared) private(i) \
firstprivate(s_hist) schedule(dynamic)
firstprivate(s_sum, s_sum2, s_count) schedule(dynamic)
for (i = 0; i < N; ++i)
{
typename graph_traits<Graph>::vertex_descriptor v = vertex(i, g);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment