mirror of https://github.com/davisking/dlib.git
Fix compiler warning
This commit is contained in:
parent
0871081a23
commit
4c0b8b9690
|
@ -713,7 +713,7 @@ namespace dlib
|
||||||
for (long i = 0; i < subnetwork_output.num_samples(); ++i, ++truth)
|
for (long i = 0; i < subnetwork_output.num_samples(); ++i, ++truth)
|
||||||
{
|
{
|
||||||
const auto& t = *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) {
|
for (size_t j = 0; j < t.size(); ++j) {
|
||||||
DLIB_ASSERT(t[j].nr() == subnetwork_output.nr());
|
DLIB_ASSERT(t[j].nr() == subnetwork_output.nr());
|
||||||
DLIB_ASSERT(t[j].nc() == subnetwork_output.nc());
|
DLIB_ASSERT(t[j].nc() == subnetwork_output.nc());
|
||||||
|
|
Loading…
Reference in New Issue