From 3f833825bbdeecfe13344051ca40a622b16ed269 Mon Sep 17 00:00:00 2001
From: Kilian Weishaupt <kilian.weishaupt@iws.uni-stuttgart.de>
Date: Thu, 23 Aug 2018 09:58:18 +0200
Subject: [PATCH] [md][facet][box] Fix LowDimCouplingContext

* resize local objects
* fixes clang error
---
 dumux/multidomain/facet/box/couplingmanager.hh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dumux/multidomain/facet/box/couplingmanager.hh b/dumux/multidomain/facet/box/couplingmanager.hh
index b9e8c3964f..0e6468f994 100644
--- a/dumux/multidomain/facet/box/couplingmanager.hh
+++ b/dumux/multidomain/facet/box/couplingmanager.hh
@@ -158,9 +158,9 @@ class FacetCouplingManager<MDTraits, CouplingMapper, bulkDomainId, lowDimDomainI
         template<bool s = bulkIsSurfaceGrid, std::enable_if_t<s, int> = 0>
         void resize(std::size_t numEmbedments)
         {
-            lowDimContext_.bulkFvGeometries.resize(numEmbedments, nullptr);
-            lowDimContext_.bulkElemVolVars.resize(numEmbedments, nullptr);
-            lowDimContext_.bulkElemFluxVarsCache.resize(numEmbedments, nullptr);
+            bulkFvGeometries.resize(numEmbedments, nullptr);
+            bulkElemVolVars.resize(numEmbedments, nullptr);
+            bulkElemFluxVarsCache.resize(numEmbedments, nullptr);
             bulkElemBcTypes.resize(numEmbedments);
         }
 
-- 
GitLab