diff --git a/src/PABLO/LocalTree.cpp b/src/PABLO/LocalTree.cpp index 8ade2e0805..3c99f341b7 100644 --- a/src/PABLO/LocalTree.cpp +++ b/src/PABLO/LocalTree.cpp @@ -2188,9 +2188,9 @@ namespace bitpit { while(m_octants[idx].buildFather() == father){ if (m_octants[idx].getMarker()<0) nbro++; - idx--; if (idx==0) break; + idx--; } } last_idx=idx;