mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Improved error message.
This commit is contained in:
parent
b1589d2b34
commit
68c98498b6
@ -2302,7 +2302,10 @@ namespace dlib
|
||||
DLIB_CASSERT(scales.num_samples() == src.num_samples() &&
|
||||
scales.k() == src.k() &&
|
||||
scales.nr() == 1 &&
|
||||
scales.nc() == 1 );
|
||||
scales.nc() == 1,
|
||||
"scales.k(): " << scales.k() <<
|
||||
"\nsrc.k(): " << src.k()
|
||||
);
|
||||
|
||||
output.copy_size(src);
|
||||
tt::scale_channels(false, output, src, scales);
|
||||
|
Loading…
Reference in New Issue
Block a user