]> https://gitweb.dealii.org/ - dealii.git/commitdiff
instantiate uninitialied tensor struct 8816/head
authorTimo Heister <timo.heister@gmail.com>
Fri, 20 Sep 2019 14:37:55 +0000 (10:37 -0400)
committerTimo Heister <timo.heister@gmail.com>
Fri, 20 Sep 2019 14:37:55 +0000 (10:37 -0400)
include/deal.II/base/tensor.h

index 7443d72064b883d6b95901da7367352f725a3548..cc7633a3ce693c79097bc2a77df8e3a133e79fe4 100644 (file)
@@ -1138,6 +1138,9 @@ namespace internal
       static ArrayElementType value;
     };
 
+    template <typename Type>
+    Type Uninitialized<Type>::value;
+
     template <typename ArrayElementType>
     DEAL_II_CONSTEXPR inline ArrayElementType &
     subscript(ArrayElementType *,

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.