From 185def2f72edf2ba9f34b70d776f4d4fb2344355 Mon Sep 17 00:00:00 2001
From: Oliver Sander <oliver.sander@tu-dresden.de>
Date: Mon, 15 Feb 2021 21:09:16 +0100
Subject: [PATCH] Fix index bug in globalp2mapper.hh

---
 dune/gfe/parallel/globalp2mapper.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dune/gfe/parallel/globalp2mapper.hh b/dune/gfe/parallel/globalp2mapper.hh
index 82c0ac34..3917e2cd 100644
--- a/dune/gfe/parallel/globalp2mapper.hh
+++ b/dune/gfe/parallel/globalp2mapper.hh
@@ -62,7 +62,7 @@ namespace Dune {
 
               case 0:  // element dofs
                 globalIndex = globalElementIndex.index(element.template subEntity<0>(entity))
-                              + globalVertexIndex.size(2);
+                              + globalVertexIndex.size(1);
                 break;
 
               default:
-- 
GitLab