From c7c6fda969d71dcb119cdd8ff325712fe559b96b Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Mon, 8 Jul 2019 21:48:45 -0400 Subject: [PATCH] Always test the layout of the VectorizedArray class --- source/base/vectorization.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/base/vectorization.cc b/source/base/vectorization.cc index ebd3c66961..5d544e15d8 100644 --- a/source/base/vectorization.cc +++ b/source/base/vectorization.cc @@ -20,6 +20,7 @@ DEAL_II_NAMESPACE_OPEN #if DEAL_II_COMPILER_VECTORIZATION_LEVEL >= 1 && !defined(DEAL_II_MSVC) const unsigned int VectorizedArray::n_array_elements; const unsigned int VectorizedArray::n_array_elements; +#endif // VectorizedArray must be a POD (plain old data) type to make sure it // can use maximum level of compiler optimization. @@ -33,6 +34,5 @@ static_assert(std::is_standard_layout>::value && static_assert(std::is_standard_layout>::value && std::is_trivial>::value, "VectorizedArray must be a POD type"); -#endif DEAL_II_NAMESPACE_CLOSE -- 2.39.5