mirror of https://github.com/CGAL/cgal
Fix warning/error
This commit is contained in:
parent
aee8735193
commit
d8ec8b8986
|
|
@ -58,7 +58,7 @@ void neighbor_query (const Point& query,
|
|||
|
||||
// if k=0, no limit on the number of neighbors returned
|
||||
if (k == 0)
|
||||
k = std::numeric_limits<unsigned int>::max();
|
||||
k = (std::numeric_limits<unsigned int>::max)();
|
||||
|
||||
try
|
||||
{
|
||||
|
|
|
|||
|
|
@ -333,7 +333,6 @@ create_riemannian_graph(
|
|||
typedef Euclidean_distance_vertex_handle_3<ForwardIterator> KDistance;
|
||||
typedef Orthogonal_k_neighbor_search<Traits,KDistance> Neighbor_search;
|
||||
typedef typename Neighbor_search::Tree Tree;
|
||||
typedef typename Neighbor_search::iterator Search_iterator;
|
||||
|
||||
// Riemannian_graph types
|
||||
typedef internal::Riemannian_graph<ForwardIterator> Riemannian_graph;
|
||||
|
|
|
|||
Loading…
Reference in New Issue