diff --git a/src/opm/output/eclipse/Summary.cpp b/src/opm/output/eclipse/Summary.cpp index 04be2d38e..12ee0179a 100644 --- a/src/opm/output/eclipse/Summary.cpp +++ b/src/opm/output/eclipse/Summary.cpp @@ -727,15 +727,6 @@ static const std::unordered_map< std::string, UnitSystem::measure> region_units {"RWIP" , UnitSystem::measure::volume } }; -static const std::unordered_map< std::string, UnitSystem::measure> block_units = { - {"BPR" , UnitSystem::measure::pressure}, - {"BPRESSUR" , UnitSystem::measure::pressure}, - {"BSWAT" , UnitSystem::measure::identity}, - {"BWSAT" , UnitSystem::measure::identity}, - {"BSGAS" , UnitSystem::measure::identity}, - {"BGSAS" , UnitSystem::measure::identity}, -}; - inline std::vector< const Well* > find_wells( const Schedule& schedule, const smspec_node_type* node, size_t timestep ) { diff --git a/tests/test_Summary.cpp b/tests/test_Summary.cpp index 1228c22a4..a7816ea8a 100644 --- a/tests/test_Summary.cpp +++ b/tests/test_Summary.cpp @@ -404,9 +404,9 @@ BOOST_AUTO_TEST_CASE(group_keywords) { setup cfg( "test_Summary_group" ); out::Summary writer( cfg.es, cfg.config, cfg.grid, cfg.schedule, cfg.name ); - writer.add_timestep( 0, 0 * day, cfg.es, cfg.schedule, cfg.wells , {}); - writer.add_timestep( 1, 1 * day, cfg.es, cfg.schedule, cfg.wells , {}); - writer.add_timestep( 2, 2 * day, cfg.es, cfg.schedule, cfg.wells , {}); + writer.add_timestep( 0, 0 * day, cfg.es, cfg.schedule, cfg.wells , cfg.solution , {}); + writer.add_timestep( 1, 1 * day, cfg.es, cfg.schedule, cfg.wells , cfg.solution , {}); + writer.add_timestep( 2, 2 * day, cfg.es, cfg.schedule, cfg.wells , cfg.solution , {}); writer.write(); auto res = readsum( cfg.name );