Commit 26613862 authored by Davis King's avatar Davis King

Fixed compile time error.

parent f9e50a23
...@@ -134,7 +134,7 @@ namespace dlib ...@@ -134,7 +134,7 @@ namespace dlib
next = (next + 1)%samples.size(); next = (next + 1)%samples.size();
} }
const typename trainer_type::trained_function_type& df = trainer.train(samples_train); const track_association_function<detection_type>& df = trainer.train(samples_train);
for (long cnt = 0; cnt < num_in_test; ++cnt) for (long cnt = 0; cnt < num_in_test; ++cnt)
{ {
impl::test_track_association_function(df, samples[next_test_idx], total_dets, correctly_associated_dets); impl::test_track_association_function(df, samples[next_test_idx], total_dets, correctly_associated_dets);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment