Merge pull request #746 from atgeirr/minor-fixes

Two small but critical fixes
This commit is contained in:
Bård Skaflestad 2019-04-30 17:38:03 +02:00 committed by GitHub
commit a9775f6945
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,7 @@
#include "EclFile.hpp"
#include "EclUtil.hpp"
#include <array>
#include <functional>
#include <string>
#include <string.h>

View File

@ -19,6 +19,7 @@
#ifndef ECL_UTIL_HPP
#define ECL_UTIL_HPP
#include <string>
#include <tuple>
#include <examples/test_util/data/EclIOdata.hpp>

View File

@ -67,6 +67,7 @@ namespace Opm {
else
cmode = wp::ControlModeFromString( cmodeItem.getTrimmedString( 0 ) );
m_productionControls = 0;
if (effectiveHistoryProductionControl(cmode)) {
this->addProductionControl( cmode );
this->controlMode = cmode;