[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-commits] (no subject)
From: |
Andriy Andreykiv |
Subject: |
[Getfem-commits] (no subject) |
Date: |
Wed, 26 Dec 2018 11:09:03 -0500 (EST) |
branch: consistent_partitioning_for_open_mp
commit de60c3d00214c6c732b1c441b6a623f72161c09b
Author: andrico <address@hidden>
Date: Wed Dec 26 17:08:33 2018 +0100
partitions_updated proper initialization
---
src/getfem/getfem_omp.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/getfem/getfem_omp.h b/src/getfem/getfem_omp.h
index 299a815..ca1aec6 100644
--- a/src/getfem/getfem_omp.h
+++ b/src/getfem/getfem_omp.h
@@ -440,7 +440,7 @@ namespace getfem
omp_distribute<size_type, true_thread_policy> current_partition;
std::atomic<size_type> nb_user_threads;
thread_behaviour behaviour = thread_behaviour::partition_threads;
- std::atomic<bool> partitions_updated;
+ std::atomic<bool> partitions_updated{false};
size_type nb_partitions;
static partition_master instance;