fix warnings.

This commit is contained in:
Liu Ming 2016-06-29 16:42:43 +08:00
parent 3eb1484f47
commit 136839bd20
2 changed files with 3 additions and 2 deletions

View File

@ -150,7 +150,7 @@ namespace Opm {
}
// Report and return.
return IterationReport { false, true, pressure_liniter + transport_liniter };
return IterationReport { false, true, pressure_liniter + transport_liniter, 0 };
} else {
// Iterate to fully implicit solution.
// This call is just for a single iteration (one pressure and one transport solve),
@ -179,7 +179,7 @@ namespace Opm {
// Report and return.
const bool converged = iteration >= 3; // TODO: replace this with a proper convergence check
return IterationReport { false, converged, pressure_liniter + transport_liniter };
return IterationReport { false, converged, pressure_liniter + transport_liniter, 0 };
}
}

View File

@ -567,6 +567,7 @@ namespace Opm {
wellModel().addWellFluxEq(cq_s, state, residual_);
addWellContributionToMassBalanceEq(cq_s, state, well_state);
wellModel().addWellControlEq(state, well_state, aliveWells, residual_);
return iter_report;
}