[Numpy-discussion] Review of issue 825

Neil Muller drnlmuller+scipy@gmail....
Wed Jun 25 15:26:25 CDT 2008


On Wed, Jun 25, 2008 at 8:46 PM, Charles R Harris
<charlesr.harris@gmail.com> wrote:
>
>
> Looks to me like the NPY_ALIGNED flag is incorrectly set. Can you check
> this  by printing the results of
>
> PyArray_CHKFLAGS(ap, NPY_ALIGNED)

For the test listed in the ticket, the array isn't flagged as aligned
- ap->flags =  NPY_CONTIGUOUS | NPY_FORTRAN | NPY_WRITEABLE

I'm under the impression that NPY_ALIGNED refers to the alignment of
the entire entry, though, in which case it's irrelevant here, since
the problem is with the internal alignment of items within a single
array entry.

-- 
Neil Muller
drnlmuller@gmail.com

I've got a gmail account. Why haven't I become cool?


More information about the Numpy-discussion mailing list