Suppress compiler warning

This commit is contained in:
Davis King 2017-08-19 08:42:17 -04:00
parent 3156a5f440
commit 33513abdeb
1 changed files with 1 additions and 1 deletions

View File

@ -2906,7 +2906,7 @@ namespace dlib
template <typename SUBNET>
void setup (const SUBNET& sub)
{
DLIB_CASSERT(sub.get_output().size() >= sub.get_output().num_samples()*(_offset+_k*_nr*_nc),
DLIB_CASSERT((long)sub.get_output().size() >= sub.get_output().num_samples()*(_offset+_k*_nr*_nc),
"The tensor we are trying to extract from the input tensor is too big to fit into the input tensor.");
aout = alias_tensor(sub.get_output().num_samples(), _k*_nr*_nc);