removed compiler warnings

This commit is contained in:
hnil
2022-05-18 13:51:39 +02:00
committed by Atgeirr Flø Rasmussen
parent 66c4a8c862
commit 8f4cf8a952
4 changed files with 6 additions and 10 deletions

View File

@@ -2257,8 +2257,7 @@ namespace Opm
const auto& bw = bweights[0];
double matel = 0;
for (size_t i = 0; i < bw.size(); ++i) {
const double w = bw[i];
matel += (*colB)[i][pressureVarIndex] * bw[i];
matel += (*colB)[i][pressureVarIndex] * bw[i];
}
jacobian[welldof_ind][col_index] = matel;
}