Skip to content
Snippets Groups Projects
Commit 6ae9017d authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

fillElinfo from refinementPath corrected

parent 90c1f562
No related branches found
No related tags found
No related merge requests found
......@@ -209,7 +209,7 @@ namespace AMDiS {
int i = 0;
for (; i < refinementPathLength; i++) {
elInfo[(i+1)%2]->fillElInfo(refinementPath & (1<<i), elInfo[i%2]);
elInfo[(i+1)%2]->fillElInfo(static_cast<int>((refinementPath & (1<<i)) == (1<<i)), elInfo[i%2]);
}
if (i%2 == 0)
*this = *elInfo[0];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment