Merge pull request #3332 from akva2/fix_trans_writer_par

eclwriter: fix regression in parallel
This commit is contained in:
Bård Skaflestad
2021-06-01 10:32:20 +02:00
committed by GitHub
5 changed files with 32 additions and 14 deletions

View File

@@ -159,7 +159,7 @@ BOOST_AUTO_TEST_CASE(Summary)
typedef Opm::EclWriter<TypeTag> EclWriterType;
// create the actual ECL writer
std::unique_ptr<EclWriterType> eclWriter = std::unique_ptr<EclWriterType>(new EclWriterType(*simulator, simulator->problem()));
std::unique_ptr<EclWriterType> eclWriter = std::unique_ptr<EclWriterType>(new EclWriterType(*simulator));
simulator->model().applyInitialSolution();
Opm::data::Wells dw;