diff --git a/contrib/kmeans/hamerly_kmeans.cpp b/contrib/kmeans/hamerly_kmeans.cpp index 3eef87980..ca9e3a56c 100644 --- a/contrib/kmeans/hamerly_kmeans.cpp +++ b/contrib/kmeans/hamerly_kmeans.cpp @@ -7,6 +7,7 @@ #include "hamerly_kmeans.h" #include "kmeans_general_functions.h" #include +#include /* Hamerly's algorithm that is a 'simplification' of Elkan's, in that it keeps * the following bounds: diff --git a/contrib/kmeans/kmeans_general_functions.cpp b/contrib/kmeans/kmeans_general_functions.cpp index 0a52a1015..5784c87b9 100644 --- a/contrib/kmeans/kmeans_general_functions.cpp +++ b/contrib/kmeans/kmeans_general_functions.cpp @@ -13,7 +13,6 @@ #include #include #include -#include void addVectors(double *a, double const *b, int d) { double const *end = a + d;