From 8fdbde5a4814caa34350c6eac9b47e143d11e12d Mon Sep 17 00:00:00 2001 From: Joakim Hove Date: Wed, 27 Nov 2019 14:50:20 +0100 Subject: [PATCH] Bugfix: use correct 3D property container --- src/opm/output/eclipse/Summary.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/opm/output/eclipse/Summary.cpp b/src/opm/output/eclipse/Summary.cpp index 3196207a6..547867427 100644 --- a/src/opm/output/eclipse/Summary.cpp +++ b/src/opm/output/eclipse/Summary.cpp @@ -2053,9 +2053,9 @@ SummaryImplementation(const EclipseState& es, const std::string& basename) : grid_ (std::cref(grid)) #ifdef ENABLE_3DPROPS_TESTING - , regCache_ (es.get3DProperties().getIntGridProperty("FIPNUM").compressedCopy(grid), grid, sched) + , regCache_ (es.fieldProps().get("FIPNUM"), grid, sched) #else - , regCache_ (es.fieldProps().get("FIPNMUM"), grid, sched) + , regCache_ (es.get3DProperties().getIntGridProperty("FIPNUM").compressedCopy(grid), grid, sched) #endif , deferredSMSpec_(makeDeferredSMSpecCreation(es, grid, sched)) , rset_ (makeResultSet(es.cfg().io(), basename))