Fixed infinite vertex not being properly set up in .mesh IO

This commit is contained in:
Mael Rouxel-Labbé 2018-06-27 16:12:42 +02:00
parent 10a84aa34e
commit c5fc0b6a4f
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ void build_vertices(Tr& tr,
typedef typename Tr::Vertex_handle Vertex_handle;
vertex_handle_vector[0] = tr.tds().create_vertex(); // creates the infinite vertex
tr.infinite_vertex() = vertex_handle_vector[0];
tr.set_infinite_vertex(vertex_handle_vector[0]);
// build vertices
for(std::size_t i=0; i<points.size(); ++i)