mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-03 21:16:54 -06:00
Merge pull request #2058 from blattms/fix-unused-variable-wells
Fixes unused variable warning in standard wells.
This commit is contained in:
commit
11aeb82e8e
@ -985,9 +985,11 @@ namespace Opm
|
||||
|
||||
updateExtraPrimaryVariables(dwells);
|
||||
|
||||
#ifndef NDEBUG
|
||||
for (double v : primary_variables_) {
|
||||
assert(Opm::isfinite(v));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@ -1329,9 +1331,11 @@ namespace Opm
|
||||
break;
|
||||
} // end of switch
|
||||
|
||||
#ifndef NDEBUG
|
||||
for (double v : primary_variables_) {
|
||||
assert(Opm::isfinite(v));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@ -2623,9 +2627,11 @@ namespace Opm
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
for (double v : primary_variables_) {
|
||||
assert(Opm::isfinite(v));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user