]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove an unnecessary 'inline'. 16654/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 15 Feb 2024 22:50:39 +0000 (15:50 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 16 Feb 2024 03:42:31 +0000 (20:42 -0700)
include/deal.II/lac/trilinos_tpetra_sparse_matrix.h
include/deal.II/lac/trilinos_tpetra_sparse_matrix.templates.h

index 60b6bcbf27f210ceeee614bbe6e17b7c92b494de..47d61170cbdaf70c4cbb8edc1e003a6bb0706362 100644 (file)
 DEAL_II_NAMESPACE_OPEN
 
 // forward declarations
+
+template <typename Number>
+class SparseMatrix;
+
 #  ifndef DOXYGEN
 namespace LinearAlgebra
 {
index b703deaf66f7e7444bd0e46beb690b83257968f4..1562ab627e4ab7b54702cfd0160c49f2efd5af76 100644 (file)
@@ -430,7 +430,7 @@ namespace LinearAlgebra
 
     template <typename Number, typename MemorySpace>
     template <typename SparsityPatternType>
-    inline std::enable_if_t<
+    std::enable_if_t<
       !std::is_same_v<SparsityPatternType, dealii::SparseMatrix<double>>>
     SparseMatrix<Number, MemorySpace>::reinit(
       const IndexSet            &parallel_partitioning,

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.