fix wrong value

This commit is contained in:
Sébastien Loriot 2020-04-22 16:35:11 +02:00
parent 5ec5ad6c8e
commit 76aeb96682
1 changed files with 1 additions and 1 deletions

View File

@ -752,7 +752,7 @@ public:
if(m_p_search_tree != nullptr) if(m_p_search_tree != nullptr)
{ {
#ifdef CGAL_HAS_THREADS #ifdef CGAL_HAS_THREADS
m_atomic_search_tree_constructed.store(false, std::memory_order_release); // in case build_kd_tree() is triggered by a call to best_hint() m_atomic_search_tree_constructed.store(true, std::memory_order_release); // in case build_kd_tree() is triggered by a call to best_hint()
#else #else
m_search_tree_constructed = true; m_search_tree_constructed = true;
#endif #endif