From ff8fc68f3b939f965139d65229aa5212e51146cb Mon Sep 17 00:00:00 2001 From: Davis King Date: Thu, 22 May 2014 21:34:35 -0400 Subject: [PATCH] Fixed compile time bug --- dlib/svm/svm_multiclass_linear_trainer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlib/svm/svm_multiclass_linear_trainer.h b/dlib/svm/svm_multiclass_linear_trainer.h index eb860d46e..c12a665ff 100644 --- a/dlib/svm/svm_multiclass_linear_trainer.h +++ b/dlib/svm/svm_multiclass_linear_trainer.h @@ -263,7 +263,7 @@ namespace dlib ) { learn_nonnegative_weights = value; - if (learns_nonnegative_weights) + if (learn_nonnegative_weights) prior = trained_function_type(); }