From 8bc4cfc838d4198110d3f5d3088c406270c3da8d Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 3 Apr 2018 10:27:08 -0600 Subject: [PATCH] Make a cast explicit. This cast appears to be necessary for older GCC versions. --- tests/grid/distributed_compute_point_locations_01.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/grid/distributed_compute_point_locations_01.cc b/tests/grid/distributed_compute_point_locations_01.cc index 8633f21be2..cf65d62a46 100644 --- a/tests/grid/distributed_compute_point_locations_01.cc +++ b/tests/grid/distributed_compute_point_locations_01.cc @@ -53,7 +53,8 @@ void test_compute_pt_loc(unsigned int n_points) // Computing the description of the locally owned part of the mesh IteratorFilters::LocallyOwnedCell locally_owned_cell_predicate; std::vector< BoundingBox > local_bbox = GridTools::compute_mesh_predicate_bounding_box - (cache.get_triangulation(), locally_owned_cell_predicate, + (cache.get_triangulation(), + std::function::active_cell_iterator &)>(locally_owned_cell_predicate), 1, true, 4); // These options should be passed // Using the distributed version of compute point location -- 2.39.5