]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
And fix another oddity.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 29 Mar 2001 14:33:10 +0000 (14:33 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 29 Mar 2001 14:33:10 +0000 (14:33 +0000)
git-svn-id: https://svn.dealii.org/trunk@4329 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/solver_gmres.h

index 6e899943104e446a7c7b1e6f9e4e2b461c10d74a..44764f23ad86b349484a13fa8b5402456b645bef 100644 (file)
@@ -87,7 +87,8 @@ class SolverGMRES : public Subscriptor, private Solver<VECTOR>
                                          * set the number of temporary
                                          * vectors to 30.
                                          */
-       AdditionalData(const unsigned int max_n_tmp_vectors=30):
+       AdditionalData(const unsigned int max_n_tmp_vectors = 30)
+                       :
                        max_n_tmp_vectors(max_n_tmp_vectors)
          {};
        
@@ -109,10 +110,10 @@ class SolverGMRES : public Subscriptor, private Solver<VECTOR>
                                      * Solver method.
                                      */
     template<class MATRIX, class PRECONDITIONER>
-    typename Solver<VECTOR>::ReturnState solve (const MATRIX &A,
-                                                      VECTOR       &x,
-                                                      const VECTOR &b,
-                                                      const PRECONDITIONER& precondition);
+    typename Solver<VECTOR>::ReturnState solve (const MATRIX         &A,
+                                               VECTOR               &x,
+                                               const VECTOR         &b,
+                                               const PRECONDITIONER &precondition);
 
     DeclException1 (ExcTooFewTmpVectors,
                    int,
@@ -207,7 +208,7 @@ SolverGMRES<VECTOR>::solve (const MATRIX         &A,
 
   deallog.push("GMRES");
 
-  const unsigned int n_tmp_vectors = (additional_data.max_n_tmp_vectors);
+  const unsigned int n_tmp_vectors = additional_data.max_n_tmp_vectors;
 
                                   // allocate an array of n_tmp_vectors
                                   // temporary vectors from the VectorMemory

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.