Skip to content

Commit

Permalink
add nowait to see if it fixes error on win
Browse files Browse the repository at this point in the history
  • Loading branch information
koide3 committed May 1, 2024
1 parent 6a3a929 commit b40c6fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/small_gicp/ann/kdtree_omp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ struct KdTreeBuilderOMP {

#pragma omp parallel num_threads(num_threads)
{
#pragma omp single
#pragma omp single nowait
{
//
kdtree.root = create_node(kdtree, node_count, points, kdtree.indices.begin(), kdtree.indices.begin(), kdtree.indices.end());
Expand Down

0 comments on commit b40c6fe

Please sign in to comment.