Tiago Pereira wrote: > Dag Sverre Seljebotn wrote: > >> The usual way is to check a.flags['C_CONTIGUOUS'], although this tends >> to be a bit too conservative sometimes (arrays which are contiguous are >> not flagged as such; that's a problem with NumPy). > > You keep referring to a.flags['C_CONTIGUOUS'] but it seems to me it > should be (<object>a).flags["C_CONTIGUOUS"].
Ah yes, I went into the exact same trap as I was saying Robert went into :-) -- Dag Sverre _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
