This file is part of MXE. See LICENSE.md for licensing information. Taken from: https://github.com/mariusmuja/flann/commit/3645f0c30a47267e56e5acdecfc7bac2b76bc3d5 From 3645f0c30a47267e56e5acdecfc7bac2b76bc3d5 Mon Sep 17 00:00:00 2001 From: Alastair Quadros Date: Sun, 15 Mar 2015 10:58:57 +1100 Subject: [PATCH] abs -> std::abs diff --git a/src/cpp/flann/algorithms/kdtree_index.h b/src/cpp/flann/algorithms/kdtree_index.h index 42659ca..fc12d8f 100644 --- a/src/cpp/flann/algorithms/kdtree_index.h +++ b/src/cpp/flann/algorithms/kdtree_index.h @@ -36,6 +36,7 @@ #include #include #include +#include #include "flann/general.h" #include "flann/algorithms/nn_index.h" @@ -663,7 +664,7 @@ ElementType max_span = 0; size_t div_feat = 0; for (size_t i=0;i max_span) { max_span = span; div_feat = i;