]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
bug fixed
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 13 Jul 2001 15:46:24 +0000 (15:46 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 13 Jul 2001 15:46:24 +0000 (15:46 +0000)
git-svn-id: https://svn.dealii.org/trunk@4842 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/shifted_matrix.h

index 411e3fc10f1f0205589e22250276d06d4df5d0a8..72a9c78d7a0725175253374ec2204c10fccd79fd 100644 (file)
@@ -171,7 +171,7 @@ template <class VECTOR>
 inline void
 ShiftedMatrix<MATRIX>::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<MATRIX>::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<MATRIX, MASSMATRIX, VECTOR>::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<MATRIX, MASSMATRIX, VECTOR>::residual (VECTOR& dst,
                                                        const VECTOR& src,
                                                        const VECTOR& rhs) const
 {
-  A.vmult(dst, src);
+  A->vmult(dst, src);
   if (sigma != 0.)
     {
       aux.reinit(dst);

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.