From: guido Date: Fri, 13 Jul 2001 15:46:24 +0000 (+0000) Subject: bug fixed X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c14fb2a1c4b19d662e5c4c3737d500d214b07e82;p=dealii-svn.git bug fixed git-svn-id: https://svn.dealii.org/trunk@4842 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/shifted_matrix.h b/deal.II/lac/include/lac/shifted_matrix.h index 411e3fc10f..72a9c78d7a 100644 --- a/deal.II/lac/include/lac/shifted_matrix.h +++ b/deal.II/lac/include/lac/shifted_matrix.h @@ -171,7 +171,7 @@ template inline void ShiftedMatrix::vmult (VECTOR& dst, const VECTOR& src) const { - A.vmult(dst, src); + A->vmult(dst, src); if (sigma != 0.) dst.add(sigma, src); } @@ -184,7 +184,7 @@ ShiftedMatrix::residual (VECTOR& dst, const VECTOR& src, const VECTOR& rhs) const { - A.vmult(dst, src); + A->vmult(dst, src); if (sigma != 0.) dst.add(sigma, src); dst.sadd(-1.,1.,rhs); @@ -224,7 +224,7 @@ inline void ShiftedMatrixGeneralized::vmult (VECTOR& dst, const VECTOR& src) const { - A.vmult(dst, src); + A->vmult(dst, src); if (sigma != 0.) { aux.reinit(dst); @@ -240,7 +240,7 @@ ShiftedMatrixGeneralized::residual (VECTOR& dst, const VECTOR& src, const VECTOR& rhs) const { - A.vmult(dst, src); + A->vmult(dst, src); if (sigma != 0.) { aux.reinit(dst);