]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix test for GCC 4.8.4 by doing a conversion explicitly. 6275/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 20 Apr 2018 16:04:58 +0000 (10:04 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 20 Apr 2018 16:07:09 +0000 (10:07 -0600)
tests/grid/distributed_compute_point_locations_02.cc

index 1ead16c1f06f5fac803471b38a73e7089faeb95b..782d1fbbc24b5a23fd2befc9b0b5ad0f7e62fa26 100644 (file)
@@ -118,7 +118,8 @@ void test_compute_pt_loc(unsigned int ref_cube, unsigned int ref_sphere)
   // Computing bounding boxes describing the locally owned part of the mesh
   IteratorFilters::LocallyOwnedCell locally_owned_cell_predicate;
   std::vector< BoundingBox<dim> > local_bbox = GridTools::compute_mesh_predicate_bounding_box
-                                               (cache.get_triangulation(), locally_owned_cell_predicate,
+                                               (cache.get_triangulation(),
+                                                std::function<bool (const typename Triangulation<dim>::active_cell_iterator &)>(locally_owned_cell_predicate),
                                                 1, true, 4);
 
   // Obtaining the global mesh description through an all to all communication

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.