mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #1254 from atgeirr/fix-warning
Silence unused variable warnings.
This commit is contained in:
commit
a9eb98d620
@ -648,9 +648,9 @@ namespace Opm {
|
||||
Vec2 dx;
|
||||
jac.solve(dx, res);
|
||||
dx *= relaxation;
|
||||
const auto hcstate_old = state_.reservoir_state.hydroCarbonState()[cell];
|
||||
// const auto hcstate_old = state_.reservoir_state.hydroCarbonState()[cell];
|
||||
updateState(cell, -dx);
|
||||
const auto hcstate = state_.reservoir_state.hydroCarbonState()[cell];
|
||||
// const auto hcstate = state_.reservoir_state.hydroCarbonState()[cell];
|
||||
assembleSingleCell(cell, res, jac);
|
||||
++iter;
|
||||
if (iter > 10) {
|
||||
|
Loading…
Reference in New Issue
Block a user