From c6ed5ff4deee9d6a8df9f503050e4cc60418c60d Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Fri, 15 Jun 2012 08:09:03 +0000 Subject: [PATCH] use this-> to access base class methods. Makes gcc 4.7 happy [[Imported from SVN: r6403]] --- dune/solvers/iterationsteps/linegsstep.cc | 2 +- dune/solvers/iterationsteps/projectedlinegsstep.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dune/solvers/iterationsteps/linegsstep.cc b/dune/solvers/iterationsteps/linegsstep.cc index 26dcc79d..a8640dbf 100755 --- a/dune/solvers/iterationsteps/linegsstep.cc +++ b/dune/solvers/iterationsteps/linegsstep.cc @@ -38,7 +38,7 @@ void LineGSStep<OperatorType, DiscFuncType, BitVectorType >::iterate() if ( (*this->ignoreNodes_)[blockStructure_[b_num][k]][0]) permuted_r_i[k] = 0.0; else - residual( blockStructure_[b_num][k], permuted_r_i[k]); // get r[p(i+k)] + this->residual( blockStructure_[b_num][k], permuted_r_i[k]); // get r[p(i+k)] } // permuted_r_i[k] is the residual for r[p(i+k)], which means the residual \tilde{r}[i+k] // note: calling the method 'residual' with the permuted index implies that there is no additional permutation required within 'residual' diff --git a/dune/solvers/iterationsteps/projectedlinegsstep.cc b/dune/solvers/iterationsteps/projectedlinegsstep.cc index 7560df38..5784106d 100755 --- a/dune/solvers/iterationsteps/projectedlinegsstep.cc +++ b/dune/solvers/iterationsteps/projectedlinegsstep.cc @@ -191,7 +191,7 @@ void ProjectedLineGSStep<MatrixType, VectorType, BitVectorType>::iterate() if ( (*this->ignoreNodes_)[this->blockStructure_[b_num][k]][0]) permuted_r_i[k] = 0.0; else - residual( this->blockStructure_[b_num][k], permuted_r_i[k]); // get r[p(i+k)] + this->residual( this->blockStructure_[b_num][k], permuted_r_i[k]); // get r[p(i+k)] } // permuted_r_i[k] is the residual for r[p(i+k)], which means the residual \tilde{r}[i+k] // note: calling the method 'residual' with the permuted index implies that there is no additional permutation required within 'residual' -- GitLab