From 293b80d3472ecd66fe736b808d6e703e895806bc Mon Sep 17 00:00:00 2001 From: Oliver Sander <oliver.sander@tu-dresden.de> Date: Thu, 26 Nov 2020 18:45:50 +0100 Subject: [PATCH] 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. --- dune/solvers/test/common.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dune/solvers/test/common.hh b/dune/solvers/test/common.hh index 62c48754..faa25d43 100644 --- a/dune/solvers/test/common.hh +++ b/dune/solvers/test/common.hh @@ -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); } } } -- GitLab