Use slice pitch instead of row pitch for 1D arrays. (#314)

Fixes fill_image 1Darray
1 file changed