diff --git a/dlib/test/max_cost_assignment.cpp b/dlib/test/max_cost_assignment.cpp index 9a62be41f..852418764 100644 --- a/dlib/test/max_cost_assignment.cpp +++ b/dlib/test/max_cost_assignment.cpp @@ -120,7 +120,7 @@ namespace T true_eval = assignment_cost(cost, assign); assign = max_cost_assignment(cost); DLIB_TEST(assignment_cost(cost,assign) == true_eval); - assign = max_cost_assignment(matrix_cast(cost)); + assign = max_cost_assignment(matrix_cast(cost)); DLIB_TEST(assignment_cost(cost,assign) == true_eval);