From ff8a50be849eabf0184d16c9129fff5eb55d2986 Mon Sep 17 00:00:00 2001
From: Kilian Weishaupt <kilian.weishaupt@iws.uni-stuttgart.de>
Date: Thu, 2 Aug 2018 07:58:40 +0200
Subject: [PATCH] [staggeredLocalAssembler] Pass complete solution vector to
 bindElement

---
 dumux/multidomain/subdomainstaggeredlocalassembler.hh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dumux/multidomain/subdomainstaggeredlocalassembler.hh b/dumux/multidomain/subdomainstaggeredlocalassembler.hh
index bb02474141..f86611b827 100644
--- a/dumux/multidomain/subdomainstaggeredlocalassembler.hh
+++ b/dumux/multidomain/subdomainstaggeredlocalassembler.hh
@@ -406,8 +406,8 @@ public:
         elemFluxVarsCache.bind(element, fvGeometry, curElemVolVars);
         if (!this->assembler().isStationaryProblem())
         {
-            this->prevElemVolVars().bindElement(element, fvGeometry, this->assembler().prevSol()[domainId]);
-            this->prevElemFaceVars().bindElement(element, fvGeometry, this->assembler().prevSol()[domainId]);
+            this->prevElemVolVars().bindElement(element, fvGeometry, this->assembler().prevSol());
+            this->prevElemFaceVars().bindElement(element, fvGeometry, this->assembler().prevSol());
         }
     }
 
-- 
GitLab