Set wellsActive to false for null well pointers.

This commit is contained in:
Markus Blatt 2016-06-27 13:05:37 +02:00 committed by Liu Ming
parent 68f9180a65
commit 1a1797a061

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)