[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-commits] (no subject)
From: |
Konstantinos Poulios |
Subject: |
[Getfem-commits] (no subject) |
Date: |
Fri, 12 Apr 2024 10:17:15 -0400 (EDT) |
branch: master
commit e5b68e126f672926cfd6171c7d886964f831324e
Author: Konstantinos Poulios <logari81@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;
- [Getfem-commits] [getfem-commits] master updated (77d406e1 -> 9216a7ac), Konstantinos Poulios, 2024/04/12
- [Getfem-commits] (no subject), Konstantinos Poulios, 2024/04/12
- [Getfem-commits] (no subject),
Konstantinos Poulios <=
- [Getfem-commits] (no subject), Konstantinos Poulios, 2024/04/12
- [Getfem-commits] (no subject), Konstantinos Poulios, 2024/04/12
- [Getfem-commits] (no subject), Konstantinos Poulios, 2024/04/12
- [Getfem-commits] (no subject), Konstantinos Poulios, 2024/04/12