]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Tpetra: Fix is_vector_space_vector check with complex values 17554/head
authorDaniel Arndt <arndtd@ornl.gov>
Fri, 16 Aug 2024 17:29:52 +0000 (11:29 -0600)
committerDaniel Arndt <arndtd@ornl.gov>
Fri, 16 Aug 2024 17:30:20 +0000 (11:30 -0600)
source/lac/trilinos_tpetra_block_vector.cc
source/lac/trilinos_tpetra_vector.cc

index c6e186422a925d8006b734a11a0536f973133a8a..673c61b5909ab21d5de9e53ab1b8a2a00c079b78 100644 (file)
@@ -45,15 +45,15 @@ namespace LinearAlgebra
 #  ifdef DEAL_II_WITH_COMPLEX_VALUES
 #    ifdef HAVE_TPETRA_INST_COMPLEX_FLOAT
 #      ifdef DEAL_II_HAVE_CXX20
-    static_assert(concepts::is_vector_space_vector <
-                  BlockVector<std::complex<float>>);
+    static_assert(
+      concepts::is_vector_space_vector<BlockVector<std::complex<float>>>);
 #      endif
     template class BlockVector<std::complex<float>>;
 #    endif
 #    ifdef HAVE_TPETRA_INST_COMPLEX_DOUBLE
 #      ifdef DEAL_II_HAVE_CXX20
-    static_assert(concepts::is_vector_space_vector <
-                  BlockVector<std::complex<double>>);
+    static_assert(
+      concepts::is_vector_space_vector<BlockVector<std::complex<double>>>);
 #      endif
     template class BlockVector<std::complex<double>>;
 #    endif
index 5700eb84a597878c68351081b23f3bc32681ef6f..f7f2755692491afa624d8b40957870b97a59686e 100644 (file)
@@ -59,8 +59,8 @@ namespace LinearAlgebra
 #  ifdef DEAL_II_WITH_COMPLEX_VALUES
 #    ifdef HAVE_TPETRA_INST_COMPLEX_FLOAT
 #      ifdef DEAL_II_HAVE_CXX20
-    static_assert(concepts::is_vector_space_vector <
-                  Vector<std::complex<float>>);
+    static_assert(
+      concepts::is_vector_space_vector<Vector<std::complex<float>>>);
 #      endif
     template class Vector<std::complex<float>>;
     template Vector<std::complex<float>> &
@@ -74,8 +74,8 @@ namespace LinearAlgebra
 
 #    ifdef HAVE_TPETRA_INST_COMPLEX_DOUBLE
 #      ifdef DEAL_II_HAVE_CXX20
-    static_assert(concepts::is_vector_space_vector <
-                  Vector<std::complex<double>>);
+    static_assert(
+      concepts::is_vector_space_vector<Vector<std::complex<double>>>);
 #      endif
     template class Vector<std::complex<double>>;
     template Vector<std::complex<double>> &

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.