diff --git a/dlib/statistics/lda.h b/dlib/statistics/lda.h index 36bbaf989..a0b3ada4d 100644 --- a/dlib/statistics/lda.h +++ b/dlib/statistics/lda.h @@ -157,7 +157,7 @@ namespace dlib std::vector > temp; temp.reserve(true_detections.size()+false_detections.size()); // We use -1 for true labels and +1 for false so when we call std::sort() below it will sort - // runs with equal detection scores so true come first. This will avoid it seeming like we + // runs with equal detection scores so false come first. This will avoid it seeming like we // can separate true from false when scores are equal in the loop below. const int true_label = -1; const int false_label = +1;