From 141a5148ebb4bb3d92d233fe5da84748a9132de5 Mon Sep 17 00:00:00 2001 From: Davis King Date: Mon, 2 Mar 2015 17:49:50 -0500 Subject: [PATCH] A minor change to avoid errors from some compilers. --- dlib/svm/kkmeans.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlib/svm/kkmeans.h b/dlib/svm/kkmeans.h index 5c3e94718..c3f21f242 100644 --- a/dlib/svm/kkmeans.h +++ b/dlib/svm/kkmeans.h @@ -425,10 +425,10 @@ namespace dlib sample_type zero(centers[0]); set_all_elements(zero, 0); - std::vector center_element_count; + std::vector center_element_count; // tells which center a sample belongs to - std::vector assignments(samples.size(), samples.size()); + std::vector assignments(samples.size(), samples.size()); unsigned long iter = 0;