In file included from k-means.cpp:9:
./implementation.hpp: In instantiation of ‘void KMeans<POINT, ASGN, DEBUG>::compute(const std::vector<POINT>&, std::size_t, std::size_t, std::vector<POINT>&, std::vector<ASGN>&) [with POINT = point_t; ASGN = unsigned char; bool DEBUG = true; std::size_t = long unsigned int]’:
k-means.cpp:114:16: required from ‘void runKmeans(const std::vector<point_t>&, std::size_t, std::size_t, std::vector<point_t>&, std::vector<unsigned char>&) [with bool DEBUG = true; std::size_t = long unsigned int]’
114 | kMeans.compute(points, k, iters, centroids, assignments);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
k-means.cpp:167:19: required from here
167 | runKmeans<true>(points, k, iters, centroids, assignment);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./implementation.hpp:112:51: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
112 | for (int i = 0; i < k; ++i) {
| ~~^~~
./implementation.hpp:118:51: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
118 | for (int i = 0; i < k; ++i) {
| ~~^~~
./implementation.hpp: In instantiation of ‘void KMeans<POINT, ASGN, DEBUG>::compute(const std::vector<POINT>&, std::size_t, std::size_t, std::vector<POINT>&, std::vector<ASGN>&) [with POINT = point_t; ASGN = unsigned char; bool DEBUG = false; std::size_t = long unsigned int]’:
k-means.cpp:114:16: required from ‘void runKmeans(const std::vector<point_t>&, std::size_t, std::size_t, std::vector<point_t>&, std::vector<unsigned char>&) [with bool DEBUG = false; std::size_t = long unsigned int]’
114 | kMeans.compute(points, k, iters, centroids, assignments);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
k-means.cpp:169:20: required from here
169 | runKmeans<false>(points, k, iters, centroids, assignment);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./implementation.hpp:112:51: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
112 | for (int i = 0; i < k; ++i) {
| ~~^~~
./implementation.hpp:118:51: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
118 | for (int i = 0; i < k; ++i) {
| ~~^~~