Simplify serialization of WellSegments

This commit is contained in:
Joakim Hove
2020-02-22 10:49:41 +01:00
parent 22d4e784d3
commit 87ddba6028
2 changed files with 3 additions and 10 deletions

View File

@@ -1712,8 +1712,7 @@ BOOST_AUTO_TEST_CASE(WellSegments)
std::make_shared<Opm::SpiralICD>(),
std::make_shared<Opm::Valve>());
Opm::WellSegments val1(Opm::WellSegments::CompPressureDrop::HF_,
{seg, seg},
{{1,2},{3,4}});
{seg, seg});
auto val2 = PackUnpack(val1);
DO_CHECKS(WellSegments)