Fixed code not compiling.

This commit is contained in:
Davis King 2018-12-05 21:41:34 -05:00
parent 4b2ef5b8f9
commit 99af7b9d54
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ namespace dlib
)
{
if (src.size() != dest.size())
src = cuda_data_ptr<T>(dest.size());
dest = cuda_data_ptr<T>(dest.size());
if (dest.size() != 0)
memcpy(dest.pdata, src.data());