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

Merge branch 'take-addtodiagonal-from-matrix-vector' into 'master'

Add missing namespace fixes for addToDiagonal

See merge request agnumpde/dune-solvers!52
parents aa534926 293b80d3
No related branches found
No related tags found
No related merge requests found
......@@ -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