Additional Windows fixups for Fast Kmeans

.. std::max needs <algorithm> and don't need <unistd> at all.
This commit is contained in:
Mark Liversedge
2021-09-28 11:45:34 +01:00
parent 5fb2dfb73e
commit 4c6c8e6d71
2 changed files with 1 additions and 1 deletions

View File

@@ -7,6 +7,7 @@
#include "hamerly_kmeans.h"
#include "kmeans_general_functions.h"
#include <cmath>
#include <algorithm>
/* Hamerly's algorithm that is a 'simplification' of Elkan's, in that it keeps
* the following bounds:

View File

@@ -13,7 +13,6 @@
#include <numeric>
#include <cstring>
#include <cstdio>
#include <unistd.h>
void addVectors(double *a, double const *b, int d) {
double const *end = a + d;