Commit 8d5b50b8 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix compilation of graph_hits.cc with openmp

parent 4f485b9b
...@@ -65,7 +65,7 @@ struct get_hits ...@@ -65,7 +65,7 @@ struct get_hits
{ {
x_norm = 0; x_norm = 0;
#pragma omp parallel for default(shared) private(i) \ #pragma omp parallel for default(shared) private(i) \
schedule(dynamic) reduction(+:norm) schedule(dynamic) reduction(+:x_norm)
for (i = 0; i < N; ++i) for (i = 0; i < N; ++i)
{ {
typename graph_traits<Graph>::vertex_descriptor v = typename graph_traits<Graph>::vertex_descriptor v =
......
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