Closed jlblancoc closed 9 years ago
We'll close this without replacing int -> size_t as proposed. The reason: In C/C++,
The int and unsigned int types are, by definition, the most efficient
ones available on the platform that can hold at least a 16-bit range.
TODO: Take a look at the patch:
"there is a couple of warning when compiling in 64 bits" ->
Index: nanoflann.hpp
--- nanoflann.hpp (revision 39165) +++ nanoflann.hpp (working copy) @@ -396,12 +396,12 @@ */ struct KDTreeSingleIndexAdaptorParams {
};
/* Search options for KDTreeSingleIndexAdaptor::findNeighbors() / @@ -753,7 +753,7 @@ const KDTreeSingleIndexAdaptorParams index_params;
@@ -846,7 +846,7 @@ * inputData = dataset with the input features * params = parameters passed to the kdtree algorithm (see http://code.google.com/p/nanoflann/ for help choosing the parameters) */
@@ -1371,7 +1371,7 @@ index_t* index; //! The kd-tree index for the user to call its methods as usual with any other FLANN index.
@@ -1425,7 +1425,7 @@ }