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

Fix compilation error with OpenMP

parent 16d85651
...@@ -308,7 +308,7 @@ struct get_avg_correlation ...@@ -308,7 +308,7 @@ struct get_avg_correlation
int i, N = num_vertices(g); int i, N = num_vertices(g);
#pragma omp parallel for default(shared) private(i) \ #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) for (i = 0; i < N; ++i)
{ {
typename graph_traits<Graph>::vertex_descriptor v = vertex(i, g); typename graph_traits<Graph>::vertex_descriptor v = vertex(i, g);
......
Supports Markdown
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