]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
reinit functions fixed
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 5 Feb 2003 14:02:17 +0000 (14:02 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 5 Feb 2003 14:02:17 +0000 (14:02 +0000)
git-svn-id: https://svn.dealii.org/trunk@7026 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 084275e2c760394a6699cac133e19896b64bea31..cc0e87300fe4127c350638009957a3919b0326b3 100644 (file)
@@ -90,7 +90,7 @@
  * For the requirements on matrices and vectors in order to work with
  * this class, see the documentation of the @ref{Solver} base class.
  *
- * @author Wolfgang Bangerth, Ralf Hartmann.
+ * @author Wolfgang Bangerth, Guido Kanschat, Ralf Hartmann.
  */
 template <class VECTOR = Vector<double> >
 class SolverGMRES : public Solver<VECTOR>
@@ -434,8 +434,8 @@ SolverGMRES<VECTOR>::solve (const MATRIX         &A,
     {
       r=this->memory.alloc();
       x_=this->memory.alloc();
-      r->reinit(x.size());
-      x_->reinit(x.size());
+      r->reinit(x);
+      x_->reinit(x);
 
       gamma_=new ::Vector<double> (gamma.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.