fix conversion warning and remove extra boost::

This commit is contained in:
Sébastien Loriot 2016-06-23 13:39:50 +02:00
parent 99e36bfb0d
commit 9b519ade69
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ int main(int argc,char** argv)
// Definition of the region of interest (use the whole mesh)
vertex_iterator vb,ve;
boost::tie(vb, ve) = boost::vertices(mesh);
boost::tie(vb, ve) = vertices(mesh);
//the selection is set by a file
input.open(argv[2]);

View File

@ -125,7 +125,7 @@ struct Types_selectors<TriangleMesh, CGAL::SRE_ARAP> {
{
typename boost::graph_traits<TriangleMesh>::in_edge_iterator e, e_end;
cpp11::tie(e,e_end) = in_edges(vi, hg);
m_nb_edges_incident=std::distance(e,e_end);
m_nb_edges_incident=(double) std::distance(e,e_end);
}
template <class Square_matrix_3>