Explicitly use signed char in max_cost_assignment test (fix for ARM/ARM64) (#316)

This commit is contained in:
Stefan Schweter 2016-11-04 21:55:25 +01:00 committed by Davis E. King
parent a756183cee
commit 02829ef903
1 changed files with 1 additions and 1 deletions

View File

@ -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<char>(cost));
assign = max_cost_assignment(matrix_cast<signed char>(cost));
DLIB_TEST(assignment_cost(cost,assign) == true_eval);