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

[triangulation] fix point type alias

parent d415af61
No related branches found
No related tags found
1 merge request!1586Fix/intersectingentities
......@@ -116,7 +116,7 @@ inline Triangulation<dim, dimWorld, typename RandomAccessContainer::value_type::
triangulate(const RandomAccessContainer& points)
{
using ctype = typename RandomAccessContainer::value_type::value_type;
using Point = Dune::FieldVector<ctype, 3>;
using Point = Dune::FieldVector<ctype, dimWorld>;
static_assert(std::is_same<typename RandomAccessContainer::value_type, Point>::value,
"Triangulation expects Dune::FieldVector as point type");
......
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