Commit 02829ef9 authored by Stefan Schweter's avatar Stefan Schweter Committed by Davis E. King

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

parent a756183c
......@@ -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);
......
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