Merge pull request #1254 from atgeirr/fix-warning

Silence unused variable warnings.
This commit is contained in:
Atgeirr Flø Rasmussen 2017-08-16 10:28:56 +02:00 committed by GitHub
commit a9eb98d620

View File

@ -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) {