quell some more warnings

This commit is contained in:
Tor Harald Sandve
2019-10-18 14:15:15 +02:00
parent af2e150118
commit 9bd44dc79a

View File

@@ -2895,10 +2895,11 @@ namespace Opm
primary_variables_[Bhp + 1 + number_of_perforations_ + perf] = well_state.perfSkinPressure()[first_perf_ + perf];
}
}
#ifndef NDEBUG
for (double v : primary_variables_) {
assert(Opm::isfinite(v));
}
#endif
}