diff options
Diffstat (limited to 'src/GudhUI/model/Model.h')
-rw-r--r-- | src/GudhUI/model/Model.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GudhUI/model/Model.h b/src/GudhUI/model/Model.h index 1c39c0d7..77e37b6c 100644 --- a/src/GudhUI/model/Model.h +++ b/src/GudhUI/model/Model.h @@ -72,8 +72,8 @@ class CGAL_geometric_flag_complex_wrapper { void maximal_face(std::vector<int> vertices) { if (!load_only_points_) { // std::cout << "size:" << vertices.size() << std::endl; - for (int i = 0; i < vertices.size(); ++i) - for (int j = i + 1; j < vertices.size(); ++j) + for (std::size_t i = 0; i < vertices.size(); ++i) + for (std::size_t j = i + 1; j < vertices.size(); ++j) complex_.add_edge(Vertex_handle(vertices[i]), Vertex_handle(vertices[j])); } } |