From 86355b6b8701e5b6af8a36ab18a056f203d12af6 Mon Sep 17 00:00:00 2001
From: Timo Koch <timo.koch@iws.uni-stuttgart.de>
Date: Tue, 2 Jun 2020 09:43:07 +0200
Subject: [PATCH] [geometry] Fix assignment to self bug

---
 dumux/common/geometry/intersectionentityset.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dumux/common/geometry/intersectionentityset.hh b/dumux/common/geometry/intersectionentityset.hh
index d64a13c9e2..7fad35dd08 100644
--- a/dumux/common/geometry/intersectionentityset.hh
+++ b/dumux/common/geometry/intersectionentityset.hh
@@ -171,7 +171,7 @@ public:
     {
         // make sure the tree don't get out of scope
         domainTree_ = domainTree;
-        targetTree_ = targetTree_;
+        targetTree_ = targetTree;
         build(*domainTree_, *targetTree_);
     }
 
-- 
GitLab