]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Revert changes to grid_tools.cc
authorDaniel Arndt <arndtd@ornl.gov>
Tue, 6 Dec 2022 19:37:49 +0000 (14:37 -0500)
committerDaniel Arndt <arndtd@ornl.gov>
Thu, 8 Dec 2022 22:13:15 +0000 (17:13 -0500)
source/grid/grid_tools.cc

index c32cc0758e5fe55cb148c8a97a4d3b93e7923468..dc2aa6242ae79d109a3b25b279ca7d145c9e66cd 100644 (file)
@@ -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<std::pair<Point<spacedim>, 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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.