From 79762b063961601f7ca0bf62be851033ed1e01de Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sun, 16 Sep 2018 22:27:47 +0200 Subject: [PATCH] Only instantiate VectorizedArrAy::n_array_elements for vectorization enabled --- source/base/vectorization.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/base/vectorization.cc b/source/base/vectorization.cc index 5876d07d2d..1cc3fe6de6 100644 --- a/source/base/vectorization.cc +++ b/source/base/vectorization.cc @@ -17,7 +17,9 @@ DEAL_II_NAMESPACE_OPEN +#if DEAL_II_COMPILER_VECTORIZATION_LEVEL >= 1 const unsigned int VectorizedArray::n_array_elements; const unsigned int VectorizedArray::n_array_elements; +#endif DEAL_II_NAMESPACE_CLOSE -- 2.39.5