Commit 99af7b9d authored by Davis King's avatar Davis King

Fixed code not compiling.

parent 4b2ef5b8
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment