From 9514b8c89a48284f719a39f2a0716e78cb867ec9 Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Fri, 8 May 2015 19:44:50 +0200 Subject: [PATCH] Switched from default constructing to explicit construction with false. --- opm/core/wells/WellsManager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opm/core/wells/WellsManager.cpp b/opm/core/wells/WellsManager.cpp index 20594ab34..ad3cae207 100644 --- a/opm/core/wells/WellsManager.cpp +++ b/opm/core/wells/WellsManager.cpp @@ -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),