prefer order='C' code path for 1d contiguous arrays
@@ -566,7 +566,7 @@ cdef class ndarray:
shape = shape[0]
if order_char == 'A':
- if self._f_contiguous:
+ if if self._f_contiguous and not self._c_contiguous:
order_char = 'F'
else:
order_char = 'C'
@@ -701,7 +701,7 @@ cdef class ndarray:
order_char = _normalize_order(order, True)
if order_char == 'A':
- if self._f_contiguous:
+ if self._f_contiguous and not self._c_contiguous
order_char = 'F'
else:
order_char = 'C'
