Skip to content
Snippets Groups Projects
Commit ac9aa7f3 authored by Max Kahnt's avatar Max Kahnt
Browse files

Rename variable.

parent 72b5bf3c
No related branches found
No related tags found
No related merge requests found
......@@ -4,13 +4,13 @@
namespace Dune {
namespace MatrixVector {
template <class Matrix, class Vector, class BitVector>
static void lowerTriangularSolve(Matrix const& A, Vector const& b, Vector& x,
static void lowerTriangularSolve(Matrix const& L, Vector const& b, Vector& x,
BitVector const* ignore,
bool transpose = false) {
x = 0;
Vector r = b;
if (transpose) {
for (auto it = A.begin(); it != A.end(); ++it) {
for (auto it = L.begin(); it != L.end(); ++it) {
const size_t i = it.index();
if (ignore != nullptr and (*ignore)[i].all())
continue;
......@@ -23,7 +23,7 @@ namespace MatrixVector {
}
}
} else {
for (auto it = A.begin(); it != A.end(); ++it) {
for (auto it = L.begin(); it != L.end(); ++it) {
size_t i = it.index();
if (ignore != nullptr and (*ignore)[i].all())
continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment