diff --git a/Surface_mesher/examples/Surface_mesher/mesh_a_3d_gray_image.cpp b/Surface_mesher/examples/Surface_mesher/mesh_a_3d_gray_image.cpp index caef73b2a87..5a9f7c1e604 100644 --- a/Surface_mesher/examples/Surface_mesher/mesh_a_3d_gray_image.cpp +++ b/Surface_mesher/examples/Surface_mesher/mesh_a_3d_gray_image.cpp @@ -22,7 +22,7 @@ int main() { C2t3 c2t3 (tr); // 2D-complex in 3D-Delaunay triangulation // the 'function' is a 3D gray level image - Gray_level_image image("data/skull_2.9.inr", 2.9); + Gray_level_image image("data/skull_2.9.inr", 2.9f); // Carefully choosen bounding sphere: the center must be inside the // surface defined by 'image' and the radius must be high enough so that