fix compilation errors

This commit is contained in:
Sébastien Loriot 2025-07-03 09:37:41 +02:00
parent 1c61ef7de9
commit 7977b1f22d
1 changed files with 2 additions and 2 deletions

View File

@ -312,7 +312,7 @@ public:
Vertex_handle mirror_vertex(Full_cell_handle s, int i) const /* Concept */ Vertex_handle mirror_vertex(Full_cell_handle s, int i) const /* Concept */
{ {
CGAL_precondition(Full_cell_handle() != s && check_range(i)); CGAL_precondition(Full_cell_handle() != s && check_range(i));
return s->mirror_vertex(i, current_dimension); return s->mirror_vertex(i, current_dimension());
} }
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - FACETS OPERATIONS // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - FACETS OPERATIONS
@ -790,7 +790,7 @@ Triangulation_data_structure<Dim, Vb, Fcb>
CGAL_precondition( (1 <= fd ) && (fd < current_dimension())); CGAL_precondition( (1 <= fd ) && (fd < current_dimension()));
std::vector<Full_cell_handle> simps; std::vector<Full_cell_handle> simps;
// save the Face's vertices: // save the Face's vertices:
Full_cell s(current_dimension); Full_cell s(current_dimension());
for( int i = 0; i <= fd; ++i ) for( int i = 0; i <= fd; ++i )
s.set_vertex(i, f.vertex(i)); s.set_vertex(i, f.vertex(i));
// compute the star of f // compute the star of f