]> https://gitweb.dealii.org/ - dealii.git/commitdiff
MatrixFreeTools::compute_diagonal() make class const 11432/head
authorPeter Munch <peterrmuench@gmail.com>
Tue, 29 Dec 2020 07:40:53 +0000 (08:40 +0100)
committerPeter Munch <peterrmuench@gmail.com>
Tue, 29 Dec 2020 07:40:53 +0000 (08:40 +0100)
include/deal.II/matrix_free/tools.h

index d0b7f9d435a8ebdccb695c4a8682d705800c56a7..99498540c7597a29bd475185a74c9558673469f5 100644 (file)
@@ -91,7 +91,7 @@ namespace MatrixFreeTools
                                                n_components,
                                                Number,
                                                VectorizedArrayType> &) const,
-    CLASS *            owning_class,
+    const CLASS *      owning_class,
     const unsigned int dof_no                   = 0,
     const unsigned int quad_no                  = 0,
     const unsigned int first_selected_component = 0);
@@ -609,7 +609,7 @@ namespace MatrixFreeTools
                                                n_components,
                                                Number,
                                                VectorizedArrayType> &) const,
-    CLASS *            owning_class,
+    const CLASS *      owning_class,
     const unsigned int dof_no,
     const unsigned int quad_no,
     const unsigned int first_selected_component)

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.