Switched from default constructing to explicit construction with false.

This commit is contained in:
Markus Blatt 2015-05-08 19:44:50 +02:00
parent 2b4ebb94cc
commit 9514b8c89a

View File

@ -308,13 +308,13 @@ namespace Opm
/// Default constructor.
WellsManager::WellsManager()
: w_(0), is_parallel_run_()
: w_(0), is_parallel_run_(false)
{
}
/// Construct from existing wells object.
WellsManager::WellsManager(struct Wells* W)
: w_(clone_wells(W)), is_parallel_run_()
: w_(clone_wells(W)), is_parallel_run_(false)
{
}
@ -323,7 +323,7 @@ namespace Opm
const size_t timeStep,
const UnstructuredGrid& grid,
const double* permeability)
: w_(0), is_parallel_run_()
: w_(0), is_parallel_run_(false)
{
init(eclipseState, timeStep, UgGridHelpers::numCells(grid),
UgGridHelpers::globalCell(grid), UgGridHelpers::cartDims(grid),