mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-14 01:42:01 -05:00
Set wellsActive to false for null well pointers.
This commit is contained in:
1 parent
c20620534a
commit
f04eec04ba
1 file changed
+2
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user