diff --git a/plugins/convex_hull.hh b/plugins/convex_hull.hh index 7785860..8e36817 100644 --- a/plugins/convex_hull.hh +++ b/plugins/convex_hull.hh @@ -284,7 +284,7 @@ struct convex_hull{ for( j=i, l=0; l= 0 ) j=l; - int nt = omp_get_num_threads(); + int nt = omp_get_max_threads(); omp_set_num_threads( std::min(2,omp_get_max_threads()) ); #pragma omp parallel for