initial wellIterations members.

This commit is contained in:
Liu Ming 2016-06-21 10:01:13 +08:00
parent 922490a9d8
commit 5e1e0d3711

View File

@ -34,8 +34,10 @@ namespace Opm
model_(std::move(model_arg)),
nonlinearIterations_(0),
linearIterations_(0),
wellIterations_(0),
nonlinearIterationsLast_(0),
linearIterationsLast_(0)
linearIterationsLast_(0),
wellIterationsLast_(0)
{
if (!model_) {
OPM_THROW(std::logic_error, "Must provide a non-null model argument for NonlinearSolver.");