Skip to content

Commit

Permalink
PABLO: fix identification of last-ghost brother in pre-balance algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-iob committed Feb 19, 2021
1 parent 63ec7df commit 2470901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PABLO/LocalTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2470901

Please sign in to comment.