Skip to content
Snippets Groups Projects
Commit f7a0f62a authored by Elias Pipping's avatar Elias Pipping
Browse files

Tests: Cleanup

parent c2400532
Branches
Tags
No related merge requests found
...@@ -45,15 +45,13 @@ template<class MatrixType, class DiscFuncType, class BitVectorType> ...@@ -45,15 +45,13 @@ template<class MatrixType, class DiscFuncType, class BitVectorType>
inline inline
void BlockGSStep<MatrixType, DiscFuncType, BitVectorType>::iterate_step(int i) void BlockGSStep<MatrixType, DiscFuncType, BitVectorType>::iterate_step(int i)
{ {
const MatrixType& mat = *this->mat_;
auto const &ignore_i = this->ignore()[i]; auto const &ignore_i = this->ignore()[i];
if (ignore_i.all()) if (ignore_i.all())
return; return;
VectorBlock r; VectorBlock r;
residual(i, r); residual(i, r);
const auto& mat_ii = mat[i][i]; const auto& mat_ii = (*this->mat_)[i][i];
// Compute correction v = A_{i,i}^{-1} r[i] // Compute correction v = A_{i,i}^{-1} r[i]
VectorBlock v; VectorBlock v;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment