fix warnings.

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

No files matched your search

+2 -2
View File
@@ -150,7 +150,7 @@ namespace Opm {
} }
// Report and return. // Report and return.
return IterationReport { false, true, pressure_liniter + transport_liniter }; return IterationReport { false, true, pressure_liniter + transport_liniter, 0 };
} else { } else {
// Iterate to fully implicit solution. // Iterate to fully implicit solution.
// This call is just for a single iteration (one pressure and one transport solve), // This call is just for a single iteration (one pressure and one transport solve),
@@ -179,7 +179,7 @@ namespace Opm {
// Report and return. // Report and return.
const bool converged = iteration >= 3; // TODO: replace this with a proper convergence check 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 };
} }
} }
@@ -567,6 +567,7 @@ namespace Opm {
wellModel().addWellFluxEq(cq_s, state, residual_); wellModel().addWellFluxEq(cq_s, state, residual_);
addWellContributionToMassBalanceEq(cq_s, state, well_state); addWellContributionToMassBalanceEq(cq_s, state, well_state);
wellModel().addWellControlEq(state, well_state, aliveWells, residual_); wellModel().addWellControlEq(state, well_state, aliveWells, residual_);
return iter_report;
} }