Skip to content
Snippets Groups Projects
Commit 293b80d3 authored by oliver.sander_at_tu-dresden.de's avatar oliver.sander_at_tu-dresden.de
Browse files

Add missing namespace fixes for addToDiagonal

Apparently the calls are not used anywhere in dune-solvers
itself, that's why the CI system didn't catch the problem.
parent aa534926
No related branches found
No related tags found
1 merge request!52Add missing namespace fixes for addToDiagonal
Pipeline #33309 passed
......@@ -189,11 +189,11 @@ void assemblePQ1Mass(const GridView& gridView, Matrix& matrix)
int jGlobal = indexSet.subIndex(element, fe.localCoefficients().localKey(j).subEntity(), dim);
double zij = values[j] * zi;
addToDiagonal(matrix[iGlobal][jGlobal], zij);
addToDiagonal(matrix[jGlobal][iGlobal], zij);
Dune::MatrixVector::addToDiagonal(matrix[iGlobal][jGlobal], zij);
Dune::MatrixVector::addToDiagonal(matrix[jGlobal][iGlobal], zij);
}
double zii = values[i] * zi;
addToDiagonal(matrix[iGlobal][iGlobal], zii);
Dune::MatrixVector::addToDiagonal(matrix[iGlobal][iGlobal], zii);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment