From 2661386229d23f15b48960658b9a1d65853906f3 Mon Sep 17 00:00:00 2001 From: Davis King Date: Thu, 20 Feb 2014 22:39:32 -0500 Subject: [PATCH] Fixed compile time error. --- dlib/svm/cross_validate_track_association_trainer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlib/svm/cross_validate_track_association_trainer.h b/dlib/svm/cross_validate_track_association_trainer.h index 1ad98eb19..6fc4632b7 100644 --- a/dlib/svm/cross_validate_track_association_trainer.h +++ b/dlib/svm/cross_validate_track_association_trainer.h @@ -134,7 +134,7 @@ namespace dlib next = (next + 1)%samples.size(); } - const typename trainer_type::trained_function_type& df = trainer.train(samples_train); + const track_association_function& df = trainer.train(samples_train); for (long cnt = 0; cnt < num_in_test; ++cnt) { impl::test_track_association_function(df, samples[next_test_idx], total_dets, correctly_associated_dets);