Use solver_param_ from base class.

This commit is contained in:
Atgeirr Flø Rasmussen 2015-06-18 11:09:57 +02:00
parent 2b6163b5ff
commit 32590ec072

View File

@ -86,9 +86,7 @@ namespace Opm
model->setThresholdPressures(BaseType::threshold_pressures_by_face_);
}
typedef typename Solver::SolverParameters SolverParams;
SolverParams solverParams( BaseType::param_ );
return std::unique_ptr<Solver>(new Solver(solverParams, std::move(model)));
return std::unique_ptr<Solver>(new Solver(BaseType::solver_param_, std::move(model)));
}