Merge pull request #3646 from akva2/fix_dep_warning_comm

fix deprecation warning with dune 2.7+
This commit is contained in:
Bård Skaflestad 2021-10-29 12:47:05 +02:00 committed by GitHub
commit 66989bcd78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,11 @@
#include <opm/grid/common/GridEnums.hpp>
#include <opm/parser/eclipse/EclipseState/Schedule/Well/WellTestState.hpp>
#include <opm/simulators/utils/ParallelCommunication.hpp>
#if DUNE_VERSION_NEWER(DUNE_COMMON, 2, 7)
#include <dune/common/parallel/communication.hh>
#else
#include <dune/common/parallel/collectivecommunication.hh>
#endif
#include <array>
#include <cassert>