owl icon indicating copy to clipboard operation
owl copied to clipboard

copy_to doesn't check bounds

Open dc-mak opened this issue 6 years ago • 1 comments

Is this the intended behaviour? Usually there's some assert or runtime check before executing something like this:

let x = Mat.uniform 5 5
let y = Mat.uniform 1 1
Mat.copy_to x y

(results in a segfault/core dump for me)

dc-mak avatar May 13 '18 14:05 dc-mak

Dhruv, thanks for pointing it out. That is a bug needs to be fixed.

ryanrhymes avatar May 13 '18 15:05 ryanrhymes