[SciPy-user] numpy aligned memory

Sturla Molden sturla at molden.no
Thu Mar 12 17:46:28 EDT 2009


> else:
>         if len(shape) == 1:
>             return aligned_empty(shape, boundary=boundary,
>                         dtype=dtype, order=order, imagealign=imagealign)


This obviously should be

> else:
>         if len(shape[0]) == 1:
>             return aligned_empty(shape, boundary=boundary,
>                         dtype=dtype, order=order, imagealign=imagealign)












More information about the SciPy-User mailing list