diff --git a/Kernel_d/include/CGAL/Kernel_d/function_objectsHd.h b/Kernel_d/include/CGAL/Kernel_d/function_objectsHd.h index 0a5d8baa050..8d634d3d607 100644 --- a/Kernel_d/include/CGAL/Kernel_d/function_objectsHd.h +++ b/Kernel_d/include/CGAL/Kernel_d/function_objectsHd.h @@ -205,7 +205,7 @@ template OutputIterator operator()(ForwardIterator first, ForwardIterator last, const Point_d& p, OutputIterator result) { TUPLE_DIM_CHECK(first,last,Barycentric_coordinates_d); - int d = p.dimension(); + CGAL_assertion_code( int d = p.dimension(); ) typename R::Affine_rank_d affine_rank; CGAL_assertion(affine_rank(first,last)==d); typename LA::Matrix M(first,last);