Cr33zz/Neuro_

bug -__-

frowrik opened this issue · 2 comments

if (depth > 0)

if (depth > 1)

wrong copy size results in assertion in CopyDepthTo->CopyTo->

NEURO_ASSERT(targetOffset + elementsNum <= target.Length(), "Trying to copy to outside of destination.");

I fixed it on
if (depth> 1)...
if (depth> 2)...

Yes, good catch, thanks for pointing it out, I will fix is asap.

Fixed :)