Skip to content
Snippets Groups Projects
Commit 956de017 authored by Jonathan Youett's avatar Jonathan Youett
Browse files

Avoid comparison of unsigned int and int

parent 87940da2
Branches
No related tags found
No related merge requests found
...@@ -213,7 +213,7 @@ void MonotoneMGStep<MatrixType, VectorType>::iterate() ...@@ -213,7 +213,7 @@ void MonotoneMGStep<MatrixType, VectorType>::iterate()
for (int j=0; j<dim; j++) for (int j=0; j<dim; j++)
changed[i][j] = (critical[i][j] != oldCritical_[level][i][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 (size_t i=0; i<changed.size(); i++)
for (int j=0; j<dim; j++) for (int j=0; j<dim; j++)
changed[i][j] = (changed[i][j] || recompute_[level][i][j]); changed[i][j] = (changed[i][j] || recompute_[level][i][j]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment