improve the code reproducibility

This commit is contained in:
Laurent Rineau 2024-01-05 16:38:53 +01:00
parent c25f443368
commit 06288f3f04
2 changed files with 4 additions and 2 deletions

View File

@ -20,7 +20,9 @@ template <typename Base>
class Base_with_time_stamp : public Base {
std::size_t time_stamp_ = -1;
public:
typedef CGAL::Tag_true Has_timestamp;
using Base::Base;
using Has_timestamp = CGAL::Tag_true;
std::size_t time_stamp() const {
return time_stamp_;

View File

@ -45,7 +45,7 @@ using K = CGAL::Exact_predicates_inexact_constructions_kernel;
#endif // use Epick
using Vb = CGAL::Base_with_time_stamp<CGAL::Constrained_Delaunay_triangulation_vertex_base_3<K>>;
using Cb = CGAL::Constrained_Delaunay_triangulation_cell_base_3<K>;
using Cb = CGAL::Base_with_time_stamp<CGAL::Constrained_Delaunay_triangulation_cell_base_3<K>>;
using Tds = CGAL::Triangulation_data_structure_3<Vb, Cb>;
using Delaunay = CGAL::Delaunay_triangulation_3<K, Tds>;
using CDT = CGAL::Constrained_Delaunay_triangulation_3<Delaunay>;