mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fixing the interface of wellModel constructors
to make all the simulators compile.
This commit is contained in:
@@ -119,7 +119,7 @@ struct SetupMSW {
|
||||
const Wells* wells = wells_manager.c_wells();
|
||||
const auto wells_ecl = ecl_state.getSchedule().getWells(current_timestep);
|
||||
|
||||
ms_wells.reset(new Opm::MultisegmentWells(wells, wells_ecl, current_timestep));
|
||||
ms_wells.reset(new Opm::MultisegmentWells(wells, &(wells_manager.wellCollection()), wells_ecl, current_timestep));
|
||||
};
|
||||
|
||||
std::shared_ptr<const Opm::MultisegmentWells> ms_wells;
|
||||
|
||||
Reference in New Issue
Block a user