Add a static assertion about the Heat Method mode

This commit is contained in:
Mael Rouxel-Labbé 2021-10-05 11:43:54 +02:00
parent 863ab7541c
commit d5886187b4
1 changed files with 3 additions and 0 deletions

View File

@ -820,6 +820,9 @@ class Surface_mesh_geodesic_distances_3
>
#endif
{
CGAL_static_assertion((std::is_same<Mode, Direct>::value) ||
(std::is_same<Mode, Intrinsic_Delaunay>::value));
// extract real types from Default
#ifdef CGAL_EIGEN3_ENABLED
typedef typename Default::Get<