Commit 275d7d1a authored by Davis King's avatar Davis King

Minor change to avoid a compiler warning.

parent 4a1b5941
......@@ -124,7 +124,7 @@ namespace dlib
const typename trainer_type::trained_function_type& df = trainer.train(x_train,y_train);
// do the training and testing
for (long j = 0; j < x_test.size(); ++j)
for (unsigned long j = 0; j < x_test.size(); ++j)
{
// compute error
const double output = df(x_test[j]);
......
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