mirror of https://github.com/davisking/dlib.git
Explicitly use signed char in max_cost_assignment test (fix for ARM/ARM64) (#316)
This commit is contained in:
parent
a756183cee
commit
02829ef903
|
@ -120,7 +120,7 @@ namespace
|
||||||
T true_eval = assignment_cost(cost, assign);
|
T true_eval = assignment_cost(cost, assign);
|
||||||
assign = max_cost_assignment(cost);
|
assign = max_cost_assignment(cost);
|
||||||
DLIB_TEST(assignment_cost(cost,assign) == true_eval);
|
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);
|
DLIB_TEST(assignment_cost(cost,assign) == true_eval);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue