ndarray icon indicating copy to clipboard operation
ndarray copied to clipboard

Add missing safety checks to `From<&[[A; N]]> for ArrayView` and `From<&mut [[A; N]]> for ArrayViewMut`

Open jturner314 opened this issue 3 years ago • 0 comments

While reviewing #1130, I noticed these missing checks introduced in #980. In the first commit, the new deny_slice_with_too_many_rows_to_arrayview*2 tests fail in release mode. The second commit fixes the code so that the tests pass.

jturner314 avatar Dec 07 '21 05:12 jturner314