Commit 16583730 authored by Davis King's avatar Davis King

fixed bug in tests

parent 24830e8e
......@@ -458,6 +458,7 @@ namespace
memcpy(A, truth);
DLIB_TEST(max(abs(mat(A)- mat(truth))) < 1e-5);
#ifdef DLIB_USE_CUDA
A = 4;
A.device();
B.host();
......@@ -481,6 +482,7 @@ namespace
B.device();
memcpy(A, truth);
DLIB_TEST(max(abs(mat(A)- mat(truth))) < 1e-5);
#endif
}
{
......
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