]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Include missing const.
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 18 Feb 2003 10:36:12 +0000 (10:36 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 18 Feb 2003 10:36:12 +0000 (10:36 +0000)
git-svn-id: https://svn.dealii.org/trunk@7141 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/precondition_block.h
deal.II/lac/include/lac/precondition_block.templates.h

index bf0fb93f67b18bdcd59005fe74a393e25596e3b7..8180dcacd36b03884de2bba0b4f32dbab03a39cb 100644 (file)
@@ -148,7 +148,8 @@ class PreconditionBlock : public virtual Subscriptor
                                      * parameter for derived classes
                                      * may be provided.
                                      */
-    void initialize (const MATRIX& A, AdditionalData parameters);
+    void initialize (const MATRIX& A,
+                    const AdditionalData parameters);
 
                                     /**
                                      * Deletes the inverse diagonal
index 3aad6fe7b35440c0469aa46bf6f9b05af8aa5b91..426734bb09eaac8a2bc073fa9941a0b9d572c912 100644 (file)
@@ -59,7 +59,7 @@ void PreconditionBlock<MATRIX,inverse_type>::clear ()
 template <class MATRIX, typename inverse_type>
 void PreconditionBlock<MATRIX,inverse_type>::initialize (
   const MATRIX &M,
-  AdditionalData parameters)
+  const AdditionalData parameters)
 {
   const unsigned int bsize = parameters.block_size;
   

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.