Add missing include directives.

These are required for std::accumulate (numeric) and
std::abs (cmath).
This commit is contained in:
Atgeirr Flø Rasmussen 2016-08-01 15:47:23 +02:00
parent b883e011db
commit dd6a364043
2 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,8 @@
#include <algorithm>
#include <ert/ecl/ecl_file.h>
#include <ert/ecl/ecl_grid.h>
#include <cmath>
#include <numeric>
bool ECLFilesComparator::keywordValidForComparing(const std::string& keyword) const {
auto it = std::find(keywords1.begin(), keywords1.end(), keyword);

View File

@ -22,6 +22,8 @@
#include <ert/util/int_vector.h>
#include <ert/util/bool_vector.h>
#include <opm/common/ErrorMacros.hpp>
#include <cmath>
#include <numeric>
SummaryComparator::SummaryComparator(const char* basename1, const char* basename2, double absoluteTolerance, double relativeTolerance){
ecl_sum1 = ecl_sum_fread_alloc_case(basename1, ":");