Commit 4c0b8b96 authored by Davis King's avatar Davis King
Browse files

Fix compiler warning

parent 0871081a
......@@ -713,7 +713,7 @@ namespace dlib
for (long i = 0; i < subnetwork_output.num_samples(); ++i, ++truth)
{
const auto& t = *truth;
DLIB_ASSERT(t.size() == subnetwork_output.k());
DLIB_ASSERT(static_cast<long>(t.size()) == subnetwork_output.k());
for (size_t j = 0; j < t.size(); ++j) {
DLIB_ASSERT(t[j].nr() == subnetwork_output.nr());
DLIB_ASSERT(t[j].nc() == subnetwork_output.nc());
......
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