From: guido Date: Wed, 5 Feb 2003 14:02:17 +0000 (+0000) Subject: reinit functions fixed X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b0d11ac1317fd1e593c1bd7bb5d9adb87f3203e;p=dealii-svn.git reinit functions fixed git-svn-id: https://svn.dealii.org/trunk@7026 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/solver_gmres.h b/deal.II/lac/include/lac/solver_gmres.h index 084275e2c7..cc0e87300f 100644 --- a/deal.II/lac/include/lac/solver_gmres.h +++ b/deal.II/lac/include/lac/solver_gmres.h @@ -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 SolverGMRES : public Solver @@ -434,8 +434,8 @@ SolverGMRES::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 (gamma.size()); }