Fix conversion warnings

This commit is contained in:
Simon Giraudot 2020-04-21 09:11:45 +02:00
parent fb8573e139
commit 4c9f76f584
1 changed files with 2 additions and 2 deletions

View File

@ -280,7 +280,7 @@ int main (int argc, char** argv)
if (current->info() != -1) if (current->info() != -1)
continue; continue;
current->info() = component_size.size(); current->info() = int(component_size.size());
++ size; ++ size;
for (int i = 0; i < 3; ++ i) for (int i = 0; i < 3; ++ i)
@ -332,7 +332,7 @@ int main (int argc, char** argv)
/////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////
//! [Filtering] //! [Filtering]
int min_size = points.size() / 2; int min_size = int(points.size() / 2);
std::vector<TIN_with_info::Vertex_handle> to_remove; std::vector<TIN_with_info::Vertex_handle> to_remove;
for (TIN_with_info::Vertex_handle vh : tin_with_info.finite_vertex_handles()) for (TIN_with_info::Vertex_handle vh : tin_with_info.finite_vertex_handles())