]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Simplify code slightly. 16009/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 18 Sep 2023 23:51:56 +0000 (17:51 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 18 Sep 2023 23:51:56 +0000 (17:51 -0600)
include/deal.II/lac/solver_gmres.h

index a5cc5e8860b7b055b43e5bce6afa69b85cae94c7..939be5052261078530408fe888c21fc32acebe02 100644 (file)
@@ -734,7 +734,7 @@ namespace internal
     template <typename VectorType>
     struct is_dealii_compatible_distributed_vector<
       VectorType,
-      typename std::enable_if<!internal::is_block_vector<VectorType>>::type>
+      std::enable_if_t<!internal::is_block_vector<VectorType>>>
     {
       static constexpr bool value = std::is_same_v<
         VectorType,
@@ -747,7 +747,7 @@ namespace internal
     template <typename VectorType>
     struct is_dealii_compatible_distributed_vector<
       VectorType,
-      typename std::enable_if<internal::is_block_vector<VectorType>>::type>
+      std::enable_if_t<internal::is_block_vector<VectorType>>>
     {
       static constexpr bool value = std::is_same_v<
         typename VectorType::BlockType,

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.