mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-28 21:04:25 -06:00
Use solver_param_ from base class.
This commit is contained in:
parent
2b6163b5ff
commit
32590ec072
@ -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)));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user