Restore Debug Builds

This was broken in commit b5580f39f (PR #3222) which removed the
'start_perf_next_well' symbol but did not update every use location.
This commit is contained in:
Bård Skaflestad 2021-05-12 08:34:47 +02:00
parent 817e81d3b7
commit 57d45011af

View File

@ -683,7 +683,8 @@ namespace Opm
const int start_perf = connpos;
// make sure the information from wells_ecl consistent with wells
assert(n_activeperf == (start_perf_next_well - start_perf));
assert((n_activeperf == num_perf_this_well) &&
"Inconsistent number of reservoir connections in well");
if (pu.phase_used[Gas]) {
auto * perf_rates = &this->mutable_perfPhaseRates()[np * start_perf];