diff --git a/Mesh_3/test/Mesh_3/test_labeled_mesh_domain_3.cpp b/Mesh_3/test/Mesh_3/test_labeled_mesh_domain_3.cpp index 163f8b6a1b6..8f85dd71492 100644 --- a/Mesh_3/test/Mesh_3/test_labeled_mesh_domain_3.cpp +++ b/Mesh_3/test/Mesh_3/test_labeled_mesh_domain_3.cpp @@ -67,10 +67,12 @@ private: { FT error_bound(1e-3); - Mesh_domain domain(sphere_function, bounding_shape, error_bound); + Function_wrapper wrapper_1(sphere_function); + Mesh_domain domain(wrapper_1, bounding_shape, error_bound); test_construct_initial_points(domain, error_bound); - Mesh_domain domain_2(shape_function, bounding_shape, error_bound); + Function_wrapper wrapper_2(shape_function); + Mesh_domain domain_2(wrapper_2, bounding_shape, error_bound); test_is_in_domain(domain_2); test_do_intersect_surface(domain_2); test_construct_intersection(domain_2);