Commit 6ae9017d authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

fillElinfo from refinementPath corrected

parent 90c1f562
...@@ -209,7 +209,7 @@ namespace AMDiS { ...@@ -209,7 +209,7 @@ namespace AMDiS {
int i = 0; int i = 0;
for (; i < refinementPathLength; i++) { 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) if (i%2 == 0)
*this = *elInfo[0]; *this = *elInfo[0];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment