Commit 97e40199 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

fixed small reciprocity compile bug with openmp


git-svn-id: https://svn.forked.de/graph-tool/trunk@100 d4600afd-f417-0410-95de-beed9576f240
parent 0c98262b
......@@ -39,7 +39,7 @@ struct get_reciprocity
double Lbd = 0.0;
int i, NV = num_vertices(g);
#pragma omp parallel for default(shared) private(i) reduce(+:L,Ldb) schedule(dynamic)
#pragma omp parallel for default(shared) private(i) reduction(+:L,Lbd) schedule(dynamic)
for (i = 0; i < NV; ++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