Merge pull request #2202 from akva2/janitoring

Janitoring
This commit is contained in:
Bård Skaflestad 2019-12-02 19:56:16 +01:00 committed by GitHub
commit 0a6b5f0ea9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,6 +31,7 @@
namespace {
#if HAVE_MPI
Opm::data::Solution getSolution()
{
Opm::data::Solution sol1;
@ -102,6 +103,7 @@ Opm::data::Well getWell()
well1.segments.insert({0, getSegment()});
return well1;
}
#endif
}
@ -119,7 +121,7 @@ std::tuple<T,int,int> PackUnpack(const T& in)
T out;
Opm::Mpi::unpack(out, buffer, pos2, comm);
return {out, pos1, pos2};
return std::make_tuple(out, pos1, pos2);
}