Dec. 20, 2012
4:47 p.m.
On Thu, 2012-12-20 at 17:26 +0100, Sturla Molden wrote:
return tmp[offset:offset+N]\ .view(dtype=d)\ .reshape(shape, order=order)
Also, just for the email record, that should be return tmp[offset:offset+N*d.itemsize]\ .view(dtype=d)\ .reshape(shape, order=order) Cheers, Henry