Charles R Harris <charlesr.har...@gmail.com> wrote: > 1. Return `a.flags.f_contiguous`. This differs for 1-D arrays, but is > most consistent with the name isfortran.
If the idea is to determine if an array can safely be passed to Fortran, this is the correct one. > 2. Return `a.flags.f_contiguous and a.ndim > 1`, which would be backward > compatible. This one is just wrong. A compromize might be to raise an exception in the case of a.ndim<2. Sturla _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion