Suppress compiler warning

This commit is contained in:
Davis King 2017-10-28 20:35:59 -04:00
parent ed8974284d
commit 1b2cdf3c5b
1 changed files with 1 additions and 1 deletions

View File

@ -1451,7 +1451,7 @@ namespace dlib
void set_num_outputs(long num)
{
DLIB_CASSERT(num > 0);
if (num != num_outputs)
if (num != (long)num_outputs)
{
DLIB_CASSERT(get_layer_params().size() == 0,
"You can't change the number of filters in fc_ if the parameter tensor has already been allocated.");