diff --git a/test/common/boundingboxtree/test_bboxtree.cc b/test/common/boundingboxtree/test_bboxtree.cc index 1e843c72bb40eb95693159f428c74079fc4a0936..fa5cb0870bb98165e18cf942a6eed8fe5d2b9f35 100644 --- a/test/common/boundingboxtree/test_bboxtree.cc +++ b/test/common/boundingboxtree/test_bboxtree.cc @@ -86,11 +86,8 @@ public: bool add = true; for (const auto& i : map[is.second()]) { - if (intersectionsEqual(is.corners(), i)) - { - add = false; - break; - } + add = !is.cornersMatch(i); + if (!add) break; } if(add) {