[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: |
Tue, 14 May 2019 05:26:42 -0400 (EDT) |
branch: c14_complience
commit 0a2bbe34cf4073e35c2f3a587c50e5f6f893ecec
Author: Andriy.Andreykiv <address@hidden>
Date: Mon May 13 15:50:44 2019 +0200
small correction for Microsoft compiler
---
src/getfem_mesh_region.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/getfem_mesh_region.cc b/src/getfem_mesh_region.cc
index 4986739..1c8557a 100644
--- a/src/getfem_mesh_region.cc
+++ b/src/getfem_mesh_region.cc
@@ -144,7 +144,7 @@ namespace getfem {
}
void mesh_region::update_partition_iterators() const{
- if ((partitions_updated == true)) return;
+ if ((partitions_updated.thrd_cast() == true)) return;
itbegin = partition_begin();
itend = partition_end ();
partitions_updated = true;
@@ -237,7 +237,7 @@ namespace getfem {
const dal::bit_vector& mesh_region::index() const{
GMM_ASSERT1(p, "Use from_mesh on that region before");
if (me_is_multithreaded_now()) {
- if (!(index_updated == true)){
+ if (!(index_updated.thrd_cast() == true)){
update_index();
index_updated = true;
}
- [Getfem-commits] [getfem-commits] branch c14_complience created (now 7b85d5c), Andriy Andreykiv, 2019/05/14
- [Getfem-commits] (no subject), Andriy Andreykiv, 2019/05/14
- [Getfem-commits] (no subject),
Andriy Andreykiv <=
- [Getfem-commits] (no subject), Andriy Andreykiv, 2019/05/14
- [Getfem-commits] (no subject), Andriy Andreykiv, 2019/05/14
- [Getfem-commits] (no subject), Andriy Andreykiv, 2019/05/14
- [Getfem-commits] (no subject), Andriy Andreykiv, 2019/05/14