From 956de017c4eec802d24ba34c7677bf1e6a8ac878 Mon Sep 17 00:00:00 2001 From: Jonathan Youett <youett@math.fu-berlin.de> Date: Thu, 3 Nov 2016 10:46:35 +0100 Subject: [PATCH] Avoid comparison of unsigned int and int --- dune/solvers/iterationsteps/mmgstep.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dune/solvers/iterationsteps/mmgstep.cc b/dune/solvers/iterationsteps/mmgstep.cc index 7a137cef..deaac122 100644 --- a/dune/solvers/iterationsteps/mmgstep.cc +++ b/dune/solvers/iterationsteps/mmgstep.cc @@ -213,7 +213,7 @@ void MonotoneMGStep<MatrixType, VectorType>::iterate() for (int j=0; j<dim; j++) changed[i][j] = (critical[i][j] != oldCritical_[level][i][j]); - if (level < this->numLevels()-1 ) + if (level < (int) this->numLevels()-1 ) for (size_t i=0; i<changed.size(); i++) for (int j=0; j<dim; j++) changed[i][j] = (changed[i][j] || recompute_[level][i][j]); -- GitLab