Allow to compile with Epeck

This commit is contained in:
Laurent Rineau 2023-02-13 16:56:05 +01:00
parent 1ca6c17a2a
commit 6096748402
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ public:
for(std::size_t i=0, end=points.size(); i<end; ++i)
{
const typename boost::property_traits<PointMap>::value_type& p = get(point_map, points[i]);
m_writer.write_vertex(p.x(), p.y(), p.z());
m_writer.write_vertex(to_double(p.x()), to_double(p.y()), to_double(p.z()));
}
m_writer.write_facet_header();