diff --git a/domain/include/cstone/traversal/traversal.hpp b/domain/include/cstone/traversal/traversal.hpp index 92ca6410e..4318f4934 100644 --- a/domain/include/cstone/traversal/traversal.hpp +++ b/domain/include/cstone/traversal/traversal.hpp @@ -139,7 +139,7 @@ void dualTraversal(const TreeType& octree, TreeNodeIndex a, TreeNodeIndex b, MAC if (octree.isLeaf(a) && octree.isLeaf(b)) { - p2p(a, b); + if (continuation(a, b)) { p2p(a, b); } return; }