Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
02829ef9
Commit
02829ef9
authored
Nov 04, 2016
by
Stefan Schweter
Committed by
Davis E. King
Nov 04, 2016
Browse files
Explicitly use signed char in max_cost_assignment test (fix for ARM/ARM64) (#316)
parent
a756183c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/test/max_cost_assignment.cpp
dlib/test/max_cost_assignment.cpp
+1
-1
No files found.
dlib/test/max_cost_assignment.cpp
View file @
02829ef9
...
@@ -120,7 +120,7 @@ namespace
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment