Skip to content

Commit

Permalink
Fix <Polygon> template for MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
ppizarror committed Oct 30, 2024
1 parent 27d41c8 commit e307e1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Delynoi/src/voronoi/DelaunayToVoronoi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ DelaunayToVoronoi::DelaunayToVoronoi(DelaunayInfo &del) {

UniqueList<Point> &points = del.circumcenters;

this->mesh = Mesh(points, voronoiCells, voronoiEdges, pointMap);
// ReSharper disable once CppTemplateArgumentsCanBeDeduced
this->mesh = Mesh<Polygon>(points, voronoiCells, voronoiEdges, pointMap); // <Polygon> required in MacOS
}

int DelaunayToVoronoi::getCircumcenter(DelaunayInfo &del, const int triangle, const int edge) {
Expand Down

0 comments on commit e307e1d

Please sign in to comment.