]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix up signature of compress_*_block 4771/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sat, 12 Aug 2017 16:15:31 +0000 (18:15 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sat, 12 Aug 2017 16:15:31 +0000 (18:15 +0200)
include/deal.II/matrix_free/matrix_free.h

index 6bc1c006ff4f6ef80525bf31214c62b9fb87ebb9..44c7e82e273c6272b31a962a8f4a7ee150dee18e 100644 (file)
@@ -1773,11 +1773,11 @@ namespace internal
   void update_ghost_values_finish_block (const VectorStruct &vec,
                                          std::integral_constant<bool, true>);
   template <typename VectorStruct>
-  void compress_start_block (const VectorStruct &vec,
+  void compress_start_block (VectorStruct       &vec,
                              const unsigned int channel,
                              std::integral_constant<bool, true>);
   template <typename VectorStruct>
-  void compress_finish_block (const VectorStruct &vec,
+  void compress_finish_block (VectorStruct &vec,
                               std::integral_constant<bool, true>);
 
   template <typename VectorStruct>
@@ -1797,12 +1797,12 @@ namespace internal
                                          std::integral_constant<bool, false>)
   {}
   template <typename VectorStruct>
-  void compress_start_block (const VectorStruct &,
+  void compress_start_block (VectorStruct &,
                              const unsigned int,
                              std::integral_constant<bool, false>)
   {}
   template <typename VectorStruct>
-  void compress_finish_block (const VectorStruct &,
+  void compress_finish_block (VectorStruct &,
                               std::integral_constant<bool, false>)
   {}
 

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.