mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
removed compiler warnings
This commit is contained in:
committed by
Atgeirr Flø Rasmussen
parent
66c4a8c862
commit
8f4cf8a952
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user