Commit 141a5148 authored by Davis King's avatar Davis King

A minor change to avoid errors from some compilers.

parent 17ffc7d2
...@@ -425,10 +425,10 @@ namespace dlib ...@@ -425,10 +425,10 @@ namespace dlib
sample_type zero(centers[0]); sample_type zero(centers[0]);
set_all_elements(zero, 0); set_all_elements(zero, 0);
std::vector<unsigned long, alloc> center_element_count; std::vector<unsigned long> center_element_count;
// tells which center a sample belongs to // tells which center a sample belongs to
std::vector<unsigned long, alloc> assignments(samples.size(), samples.size()); std::vector<unsigned long> assignments(samples.size(), samples.size());
unsigned long iter = 0; unsigned long iter = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment