Set wellsActive to false for null well pointers.

This commit is contained in:
Markus Blatt committed 2016-06-27 13:05:37 +02:00
1 parent c20620534a
commit f04eec04ba
1 file changed
+2 -1
+2 -1
View File
@@ -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)