Fix shadowed variable warning.

This commit is contained in:
Markus Blatt
2022-07-28 19:50:24 +02:00
parent c22114af41
commit 941957c13e

View File

@@ -1607,7 +1607,6 @@ namespace Opm
for (int perf = 0; perf < nperf; ++perf) {
total_tw += this->well_index_[perf];
}
const auto& comm = this->parallel_well_info_.communication();
if (comm.size() > 1)
{
total_tw = comm.sum(total_tw);