Commit 4b08c433 authored by Tiago Peixoto's avatar Tiago Peixoto

graph_eingenvector.hh: Fix compilation warning

parent 57716b90
......@@ -52,11 +52,9 @@ struct get_eigenvector
t_type norm = 0;
t_type delta = epsilon + 1;
t_type prev_delta = delta + 1;
size_t iter = 0;
while (delta >= epsilon)
{
prev_delta = delta;
norm = 0;
#pragma omp parallel if (num_vertices(g) > OPENMP_MIN_THRESH) \
reduction(+:norm)
......
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