mirror of https://github.com/davisking/dlib.git
Fixed code not compiling.
This commit is contained in:
parent
4b2ef5b8f9
commit
99af7b9d54
|
@ -184,7 +184,7 @@ namespace dlib
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
if (src.size() != dest.size())
|
if (src.size() != dest.size())
|
||||||
src = cuda_data_ptr<T>(dest.size());
|
dest = cuda_data_ptr<T>(dest.size());
|
||||||
|
|
||||||
if (dest.size() != 0)
|
if (dest.size() != 0)
|
||||||
memcpy(dest.pdata, src.data());
|
memcpy(dest.pdata, src.data());
|
||||||
|
|
Loading…
Reference in New Issue