diff --git a/Mesh_3/include/CGAL/Mesh_3/sliver_criteria.h b/Mesh_3/include/CGAL/Mesh_3/sliver_criteria.h index 564995e00e7..1f3b70625fb 100644 --- a/Mesh_3/include/CGAL/Mesh_3/sliver_criteria.h +++ b/Mesh_3/include/CGAL/Mesh_3/sliver_criteria.h @@ -101,6 +101,7 @@ protected: typedef Sliver_criterion Base; typedef typename Base::Tetrahedron_3 Tetrahedron_3; typedef typename Base::Cell_vector Cell_vector; + typedef typename Base::K K; public: static double default_value; @@ -114,7 +115,7 @@ public: virtual double operator()(const Tetrahedron_3& t) const { - return CGAL::to_double(minimum_dihedral_angle(t, typename Tr::Geom_traits())); + return CGAL::to_double(minimum_dihedral_angle(t, K())); } virtual void before_move(const Cell_vector& cells) const