]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a test for GCC 4.8.4 by doing a cast explicitly. 6365/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 27 Apr 2018 19:33:40 +0000 (13:33 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 27 Apr 2018 19:33:40 +0000 (13:33 -0600)
tests/grid/distributed_compute_point_locations_03.cc

index 2e512c5fbd9a4925ac89181fb2c7cc174d480f05..92e6ef9f9c181c0b251056e42ae17fe16fc87bc3 100644 (file)
@@ -63,7 +63,8 @@ void test_distributed_cpt(unsigned int ref_cube)
   // 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
-                                               (cube_d, locally_owned_cell_predicate,
+                                               (cube_d,
+                                                std::function<bool (const typename Triangulation<dim>::active_cell_iterator &)>(locally_owned_cell_predicate),
                                                 1, false, 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.