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;
|
Vec2 dx;
|
||||||
jac.solve(dx, res);
|
jac.solve(dx, res);
|
||||||
dx *= relaxation;
|
dx *= relaxation;
|
||||||
const auto hcstate_old = state_.reservoir_state.hydroCarbonState()[cell];
|
// const auto hcstate_old = state_.reservoir_state.hydroCarbonState()[cell];
|
||||||
updateState(cell, -dx);
|
updateState(cell, -dx);
|
||||||
const auto hcstate = state_.reservoir_state.hydroCarbonState()[cell];
|
// const auto hcstate = state_.reservoir_state.hydroCarbonState()[cell];
|
||||||
assembleSingleCell(cell, res, jac);
|
assembleSingleCell(cell, res, jac);
|
||||||
++iter;
|
++iter;
|
||||||
if (iter > 10) {
|
if (iter > 10) {
|
||||||
|
Loading…
Reference in New Issue
Block a user