Commit ece8af40 authored by Christoph Grueninger's avatar Christoph Grueninger
Browse files

[Implicit] Fix sign/unsign comparison warnings.


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@10063 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 395cc7f8
......@@ -349,9 +349,9 @@ protected:
*/
void reset_()
{
for (int i = 0; i < A_.N(); ++ i) {
for (unsigned int i = 0; i < A_.N(); ++ i) {
storageJacobian_[i] = 0.0;
for (int j = 0; j < A_.M(); ++ j) {
for (unsigned int j = 0; j < A_.M(); ++ j) {
A_[i][j] = 0.0;
}
}
......
......@@ -213,7 +213,7 @@ public:
Valgrind::CheckDefined(curVolVars);
#if !defined NDEBUG && HAVE_VALGRIND
for (int i = 0; i < prevVolVars.size(); i++) {
for (unsigned int i = 0; i < prevVolVars.size(); i++) {
prevVolVars[i].checkDefined();
curVolVars[i].checkDefined();
}
......
......@@ -686,7 +686,7 @@ public:
def[eqIdx] = writer.allocateManagedBuffer(numDofs);
}
for (int globalIdx = 0; globalIdx < u.size(); globalIdx++)
for (unsigned int globalIdx = 0; globalIdx < u.size(); globalIdx++)
{
for (int eqIdx = 0; eqIdx < numEq; ++eqIdx)
{
......@@ -933,7 +933,7 @@ protected:
if (isBox)
{
// divide all primary variables by the volume of their boxes
for (int i = 0; i < uCur_.size(); ++i) {
for (unsigned int i = 0; i < uCur_.size(); ++i) {
uCur_[i] /= boxVolume(i);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment