mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-25 18:50:19 -06:00
Set wellsActive to false for null well pointers.
This commit is contained in:
parent
68f9180a65
commit
1a1797a061
@ -72,7 +72,8 @@ namespace Opm
|
||||
|
||||
|
||||
StandardWells::StandardWells(const Wells* wells_arg)
|
||||
: wells_(wells_arg)
|
||||
: wells_active_(wells_arg!=nullptr)
|
||||
, wells_(wells_arg)
|
||||
, wops_(wells_arg)
|
||||
, fluid_(nullptr)
|
||||
, active_(nullptr)
|
||||
|
Loading…
Reference in New Issue
Block a user