]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix EnableIfScalar for VectorizedArray 8399/head
authorpeterrum <peterrmuench@gmail.com>
Sat, 20 Jul 2019 18:25:19 +0000 (20:25 +0200)
committerpeterrum <peterrmuench@gmail.com>
Sat, 20 Jul 2019 18:25:19 +0000 (20:25 +0200)
include/deal.II/base/vectorization.h

index 1e994fbd4add49a96f17dc9c1ae4673298e9a5af..26c4fdd1172172b67a2b423974fef1d53904f09f 100644 (file)
@@ -114,7 +114,7 @@ namespace internal
 template <typename Number, int width>
 struct EnableIfScalar<VectorizedArray<Number, width>>
 {
-  using type = VectorizedArray<typename EnableIfScalar<Number>::type>;
+  using type = VectorizedArray<typename EnableIfScalar<Number>::type, width>;
 };
 
 

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.