From 3604de7106aac6256b88657338fbbfc51501d30e Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Fri, 13 Jul 2001 15:46:24 +0000 Subject: [PATCH] bug fixed git-svn-id: https://svn.dealii.org/trunk@4842 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/shifted_matrix.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); -- 2.39.5