branch: c14_complience commit 0a2bbe34cf4073e35c2f3a587c50e5f6f893ecec Author: Andriy.Andreykiv <a...@plaxis.com> 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; }