Skip to content

Commit

Permalink
add missing typename
Browse files Browse the repository at this point in the history
  • Loading branch information
sloriot committed Feb 22, 2024
1 parent 16a096b commit abcfd74
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,13 @@ class Ball_merge_surface_reconstruction {
bbdiaglen = distance(Point(bbox.xmin(), bbox.ymin(), bbox.zmin()), Point(bbox.xmax(), bbox.ymax(), bbox.zmax()));

if constexpr (std::is_same_v<ConcurrencyTag, Parallel_tag>) {
Delaunay::Lock_data_structure locking_ds(bbox, 50); // AF: why 50
typename Delaunay::Lock_data_structure locking_ds(bbox, 50); // AF: why 50
dt3.insert(points.begin(), points.end(), &locking_ds);
} else {
dt3.insert(points.begin(), points.end());//Sequential Delaunay computation
}

Delaunay::Finite_cells_iterator vit;
typename Delaunay::Finite_cells_iterator vit;
for (vit = dt3.finite_cells_begin(); vit != dt3.finite_cells_end(); ++vit){//Initialize the labels of all tetrahedra
vit->info() = 0;
}
Expand Down Expand Up @@ -144,7 +144,7 @@ class Ball_merge_surface_reconstruction {
void result(std::vector<std::array<double, 3>>& meshVertexPositions,
std::vector<std::vector<int>>& meshFaceIndices) const
{
for (Delaunay::Finite_vertices_iterator vIter = dt3.finite_vertices_begin(); vIter != dt3.finite_vertices_end(); ++vIter){
for (typename Delaunay::Finite_vertices_iterator vIter = dt3.finite_vertices_begin(); vIter != dt3.finite_vertices_end(); ++vIter){
const Point& point = vIter->point();
int vIndex = vIter->info();
meshVertexPositions[vIndex][0] = point.x();
Expand Down

0 comments on commit abcfd74

Please sign in to comment.