Skip to content
Snippets Groups Projects
Commit b26b7501 authored by Oliver Sander's avatar Oliver Sander
Browse files

Fix a dim/dimworld mixup

This patch is needed to make the code compile when dim!=dimworld.
parent e0f92909
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment