Fix warnings

This commit is contained in:
Simon Giraudot 2020-03-30 08:09:58 +02:00
parent 47027d6f5b
commit 3350f9d05e
2 changed files with 3 additions and 2 deletions

View File

@ -261,7 +261,8 @@ public:
inserted_vertices[vertex_i]);
if(std::size_t(get (vertex_label_map, vd)) != alpha
&& color == ColorTraits::white()) //new comers (expansion occurs)
put (vertex_label_map, vd, alpha);
put (vertex_label_map, vd,
static_cast<typename boost::property_traits<VertexLabelMap>::value_type>(alpha));
}
void add_edge (Vertex_descriptor& v1, Vertex_descriptor& v2, double w1, double w2)

View File

@ -40,7 +40,7 @@ namespace CGAL {
class Default_diagonalize_traits;
class Eigen_svd;
class Lapack_svd;
class Alpha_expansion_boost_adjacency_list_tag;
struct Alpha_expansion_boost_adjacency_list_tag;
//