From 02829ef90372d220eee67e2d66715235172a84b1 Mon Sep 17 00:00:00 2001 From: Stefan Schweter Date: Fri, 4 Nov 2016 21:55:25 +0100 Subject: [PATCH] Explicitly use signed char in max_cost_assignment test (fix for ARM/ARM64) (#316) --- dlib/test/max_cost_assignment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);