Skip to content
Snippets Groups Projects
Commit c6ed5ff4 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

use this-> to access base class methods. Makes gcc 4.7 happy

[[Imported from SVN: r6403]]
parent 0d0f7e89
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ void LineGSStep<OperatorType, DiscFuncType, BitVectorType >::iterate() ...@@ -38,7 +38,7 @@ void LineGSStep<OperatorType, DiscFuncType, BitVectorType >::iterate()
if ( (*this->ignoreNodes_)[blockStructure_[b_num][k]][0]) if ( (*this->ignoreNodes_)[blockStructure_[b_num][k]][0])
permuted_r_i[k] = 0.0; permuted_r_i[k] = 0.0;
else 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] // 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' // note: calling the method 'residual' with the permuted index implies that there is no additional permutation required within 'residual'
......
...@@ -191,7 +191,7 @@ void ProjectedLineGSStep<MatrixType, VectorType, BitVectorType>::iterate() ...@@ -191,7 +191,7 @@ void ProjectedLineGSStep<MatrixType, VectorType, BitVectorType>::iterate()
if ( (*this->ignoreNodes_)[this->blockStructure_[b_num][k]][0]) if ( (*this->ignoreNodes_)[this->blockStructure_[b_num][k]][0])
permuted_r_i[k] = 0.0; permuted_r_i[k] = 0.0;
else 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] // 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' // note: calling the method 'residual' with the permuted index implies that there is no additional permutation required within 'residual'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment