Skip to content
Snippets Groups Projects
Commit a8532ee3 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[triangulation] fix call to Triangulation

parent 822c1737
No related branches found
No related tags found
1 merge request!1586Fix/intersectingentities
...@@ -122,7 +122,7 @@ triangulate(const RandomAccessContainer& points) ...@@ -122,7 +122,7 @@ triangulate(const RandomAccessContainer& points)
"Triangulation expects Dune::FieldVector as point type"); "Triangulation expects Dune::FieldVector as point type");
if (points.size() == 2) if (points.size() == 2)
return Triangulation<dim, dimWorld, ctype>({points[0], points[1]}); return Triangulation<dim, dimWorld, ctype>({ {points[0], points[1]} });
//! \todo sort points and create polyline //! \todo sort points and create polyline
assert(points.size() > 1); assert(points.size() > 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment