From: wolf Date: Mon, 5 May 2003 16:36:28 +0000 (+0000) Subject: Fix non-compilability. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07d055323087badf7aef9e3c234893a7a4800a36;p=dealii-svn.git Fix non-compilability. git-svn-id: https://svn.dealii.org/trunk@7579 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 1be1adaf9d..91e55568c2 100644 --- a/deal.II/lac/include/lac/solver_gmres.h +++ b/deal.II/lac/include/lac/solver_gmres.h @@ -307,12 +307,10 @@ inline VECTOR& SolverGMRES::TmpVectors::operator[] (const unsigned int i) const { Assert (i+offset::TmpVectors::operator() (const unsigned int i, { Assert (i+offsetreinit(temp); + data[i-offset] = mem.alloc(); + data[i-offset]->reinit(temp); } - return *data[i]; + return *data[i-offset]; }