branch: master commit e5b68e126f672926cfd6171c7d886964f831324e Author: Konstantinos Poulios <logar...@gmail.com> AuthorDate: Fri Apr 12 16:14:33 2024 +0200
Fix minor compilation issues --- src/getfem/bgeot_tensor.h | 2 -- src/getfem_fem.cc | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/getfem/bgeot_tensor.h b/src/getfem/bgeot_tensor.h index b5e28210..46e3d01a 100644 --- a/src/getfem/bgeot_tensor.h +++ b/src/getfem/bgeot_tensor.h @@ -130,9 +130,7 @@ namespace bgeot { template<class CONT> inline const T& operator ()(const CONT &c) const { typename CONT::const_iterator it = c.begin(); multi_index::const_iterator q = coeff_.begin(), e = coeff_.end(); -#ifndef NDEBUG multi_index::const_iterator qv = sizes_.begin(); -#endif size_type d = 0; for ( ; q != e; ++q, ++it) { d += (*q) * (*it); diff --git a/src/getfem_fem.cc b/src/getfem_fem.cc index 2cc58661..8456df84 100644 --- a/src/getfem_fem.cc +++ b/src/getfem_fem.cc @@ -4426,8 +4426,8 @@ namespace getfem { THREAD_SAFE_STATIC bgeot::pgeometric_trans pgt_last = nullptr; THREAD_SAFE_STATIC short_type k_last = short_type(-1); THREAD_SAFE_STATIC pfem fem_last = nullptr; - THREAD_SAFE_STATIC char complete_last = 0; - THREAD_SAFE_STATIC char discont_last = 0; + THREAD_SAFE_STATIC bool complete_last = 0; + THREAD_SAFE_STATIC bool discont_last = 0; THREAD_SAFE_STATIC scalar_type alpha_last = 0; bool found = false;