diff --git a/dlib/svm/kcentroid.h b/dlib/svm/kcentroid.h index 7ebf740fe..5ebac2b2b 100644 --- a/dlib/svm/kcentroid.h +++ b/dlib/svm/kcentroid.h @@ -71,7 +71,7 @@ namespace dlib const kernel_type& kernel_, scalar_type tolerance_ = 0.001, unsigned long max_dictionary_size_ = 1000000, - bool remove_oldest_first_ = true + bool remove_oldest_first_ = false ) : my_remove_oldest_first(remove_oldest_first_), kernel(kernel_), diff --git a/dlib/svm/kcentroid_abstract.h b/dlib/svm/kcentroid_abstract.h index f976bdf80..94d5a6dd7 100644 --- a/dlib/svm/kcentroid_abstract.h +++ b/dlib/svm/kcentroid_abstract.h @@ -58,7 +58,7 @@ namespace dlib const kernel_type& kernel_, scalar_type tolerance_ = 0.001, unsigned long max_dictionary_size_ = 1000000, - bool remove_oldest_first_ = true + bool remove_oldest_first_ = false ); /*! requires