fix serialization after removed member in IOCOnfig

This commit is contained in:
Arne Morten Kvarving
2020-01-24 13:12:02 +01:00
parent 7e629fdcc8
commit b9ea08519a
2 changed files with 3 additions and 7 deletions

View File

@@ -815,7 +815,7 @@ BOOST_AUTO_TEST_CASE(RestartConfig)
BOOST_AUTO_TEST_CASE(IOConfig)
{
#if HAVE_MPI
Opm::IOConfig val1(true, false, true, false, false, true, 1, "test1", true,
Opm::IOConfig val1(true, false, true, false, false, true, "test1", true,
"test2", true, "test3", false);
auto val2 = PackUnpack(val1);
BOOST_CHECK(std::get<1>(val2) == std::get<2>(val2));
@@ -2438,7 +2438,7 @@ BOOST_AUTO_TEST_CASE(MULTREGTScanner)
BOOST_AUTO_TEST_CASE(EclipseConfig)
{
#ifdef HAVE_MPI
Opm::IOConfig io(true, false, true, false, false, true, 1, "test1", true,
Opm::IOConfig io(true, false, true, false, false, true, "test1", true,
"test2", true, "test3", false);
Opm::InitConfig init(Opm::Equil({getEquilRecord(), getEquilRecord()}),
Opm::FoamConfig({getFoamData(), getFoamData()}),