mirror of https://github.com/davisking/dlib.git
Suppress compiler warning
This commit is contained in:
parent
3156a5f440
commit
33513abdeb
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue