mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-28 02:00:59 -06:00
Bugfix: use correct object in sequential model.
Discovered as a side effect of two-phase fix.
This commit is contained in:
parent
1fe610ef5a
commit
e762844cdf
@ -247,7 +247,7 @@ namespace Opm {
|
||||
/// Return the well model
|
||||
const WellModel& wellModel() const
|
||||
{
|
||||
return pressure_model_->wellModel();
|
||||
return pressure_solver_.model().wellModel();
|
||||
}
|
||||
|
||||
|
||||
@ -265,7 +265,7 @@ namespace Opm {
|
||||
|
||||
/// Return reservoir simulation data (for output functionality)
|
||||
const SimulatorData& getSimulatorData() const {
|
||||
return transport_model_->getSimulatorData();
|
||||
return transport_solver_.model().getSimulatorData();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user