diff --git a/opm/simulators/utils/ParallelEclipseState.cpp b/opm/simulators/utils/ParallelEclipseState.cpp index c864fb262..477b65012 100644 --- a/opm/simulators/utils/ParallelEclipseState.cpp +++ b/opm/simulators/utils/ParallelEclipseState.cpp @@ -68,7 +68,7 @@ const std::vector& ParallelFieldPropsManager::get_int(const std::string& ke // Some of the keywords might be defaulted. // We will let rank 0 create them and distribute them using get_global_int auto data = get_global_int(keyword); - auto& local_data = const_cast>&>(m_intProps)[keyword]; + auto& local_data = const_cast>&>(m_intProps)[keyword]; local_data.data.resize(m_activeSize()); local_data.value_status.resize(m_activeSize()); @@ -122,7 +122,7 @@ const std::vector& ParallelFieldPropsManager::get_double(const std::stri // Some of the keywords might be defaulted. // We will let rank 0 create them and distribute them using get_global_int auto data = get_global_double(keyword); - auto& local_data = const_cast>&>(m_doubleProps)[keyword]; + auto& local_data = const_cast>&>(m_doubleProps)[keyword]; local_data.data.resize(m_activeSize()); local_data.value_status.resize(m_activeSize()); for (int i = 0; i < m_activeSize(); ++i) diff --git a/opm/simulators/utils/ParallelEclipseState.hpp b/opm/simulators/utils/ParallelEclipseState.hpp index b57bfdf30..e0f4ffe40 100644 --- a/opm/simulators/utils/ParallelEclipseState.hpp +++ b/opm/simulators/utils/ParallelEclipseState.hpp @@ -103,13 +103,13 @@ public: void deserialize_tran(const std::vector& buffer) override; protected: - std::map> m_intProps; //!< Map of integer properties in process-local compressed indices. - std::map> m_doubleProps; //!< Map of double properties in process-local compressed indices. + std::map> m_intProps; //!< Map of integer properties in process-local compressed indices. + std::map> m_doubleProps; //!< Map of double properties in process-local compressed indices. FieldPropsManager& m_manager; //!< Underlying field property manager (only used on root process). Dune::CollectiveCommunication m_comm; //!< Collective communication handler. std::function m_activeSize; //!< active size function of the grid std::function m_local2Global; //!< mapping from local to global cartesian indices - std::unordered_map m_tran; //!< calculators map + std::unordered_map m_tran; //!< calculators map };