From 014aa1c44b13ba65f51777a5e72f32ceeb48553c Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Tue, 6 Dec 2022 14:37:49 -0500 Subject: [PATCH] Revert changes to grid_tools.cc --- source/grid/grid_tools.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/grid/grid_tools.cc b/source/grid/grid_tools.cc index c32cc0758e..dc2aa6242a 100644 --- a/source/grid/grid_tools.cc +++ b/source/grid/grid_tools.cc @@ -2973,11 +2973,10 @@ namespace GridTools else marked = [](const ValueType &) -> bool { return true; }; - auto bla = boost::geometry::index::nearest(p, 1); - auto blub = boost::geometry::index::satisfies(marked); std::vector, unsigned int>> res; used_vertices_rtree.query( - bla && blub, + boost::geometry::index::nearest(p, 1) && + boost::geometry::index::satisfies(marked), std::back_inserter(res)); // Searching for a point which is located outside the -- 2.39.5