Commit c763fafd authored by Davis King's avatar Davis King

Fixed broken memcpy overload.

parent 61a021c9
......@@ -184,7 +184,7 @@ namespace dlib
)
{
if (src.size() != dest.size())
dest = cuda_data_ptr<T>(dest.size());
dest = cuda_data_ptr<T>(src.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