From b40c6fe70b15579c701f60bb240c6e5d45b41c35 Mon Sep 17 00:00:00 2001 From: "k.koide" Date: Wed, 1 May 2024 18:48:57 +0900 Subject: [PATCH] add nowait to see if it fixes error on win --- include/small_gicp/ann/kdtree_omp.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/small_gicp/ann/kdtree_omp.hpp b/include/small_gicp/ann/kdtree_omp.hpp index c8fa6ae..89f7b2b 100644 --- a/include/small_gicp/ann/kdtree_omp.hpp +++ b/include/small_gicp/ann/kdtree_omp.hpp @@ -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());