diff --git a/AMDiS/src/Mesh.cc b/AMDiS/src/Mesh.cc index 34cb2a6a672a06e2ee400c2423c233bb8ccde853..3e0783111d5a716f6acd333ff022c402fe3d04dc 100644 --- a/AMDiS/src/Mesh.cc +++ b/AMDiS/src/Mesh.cc @@ -712,7 +712,7 @@ namespace AMDiS { int k; while ((k = mel_info->worldToCoord(xy, &lambda)) >= 0) { macrosVisited.insert(mel->getIndex()); - if (mel->getNeighbour(k) && !macrosVisited.count(mel->getNeighbour(k)->getIndex()) { + if (mel->getNeighbour(k) && !macrosVisited.count(mel->getNeighbour(k)->getIndex())) { mel = mel->getNeighbour(k); // if (macrosVisited.count(mel->getIndex())) // Nur für periodische RB interessant, muss noch implementiert werden // return false; @@ -721,7 +721,7 @@ namespace AMDiS { continue; } else { for (int i = 0; i < dim + 1; ++i) { - if (i != k && mel->getNeighbour(i) && !macrosVisited.count(mel->getNeighbour(i)->getIndex()) + if (i != k && mel->getNeighbour(i) && !macrosVisited.count(mel->getNeighbour(i)->getIndex())) active.push(mel->getNeighbour(i)); } if (active.empty())