From b26b75014a294db93ac368bd046f33436e7605a5 Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Sat, 18 Jul 2015 21:25:26 +0200 Subject: [PATCH] Fix a dim/dimworld mixup This patch is needed to make the code compile when dim!=dimworld. --- dune/fufem/prolongboundarypatch.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dune/fufem/prolongboundarypatch.hh b/dune/fufem/prolongboundarypatch.hh index 6b027ef3..b0e14eaa 100644 --- a/dune/fufem/prolongboundarypatch.hh +++ b/dune/fufem/prolongboundarypatch.hh @@ -55,7 +55,7 @@ public: const int dim = GridType::dimension; const int dimworld = GridType::dimensionworld; typedef typename GridType::ctype ctype; - FieldVector<ctype,dimworld-1> dummy; + FieldVector<ctype,dim-1> dummy; FieldVector<ctype,dimworld> level0Normal = i.unitOuterNormal(dummy); // Find all boundary segments of the descendants of this element -- GitLab