quell signed/unsigned comparison mismatch warning

This commit is contained in:
Arne Morten Kvarving
2017-12-05 16:50:58 +01:00
parent b702d3834b
commit dfd91d162b

View File

@@ -1179,7 +1179,7 @@ namespace Opm {
// original distr contains 0 and 1 to indicate phases under control
const double* old_distr = well_controls_get_current_distr(ctrl);
for (int p = 0; p < np; ++p) {
for (size_t p = 0; p < np; ++p) {
distr[p] *= old_distr[p];
}
}