diff --git a/arraycontext/impl/pytato.py b/arraycontext/impl/pytato.py index fbb6851575208f975b42ec6b8d54d29662a3eaf4..9483686ff7d1177d513745c07ac67de8fccd9abf 100644 --- a/arraycontext/impl/pytato.py +++ b/arraycontext/impl/pytato.py @@ -158,11 +158,8 @@ class _PytatoFakeNumpyNamespace(BaseFakeNumpyNamespace): def _rec_ravel(a): if order in "FC": return pt.reshape(a, (-1,), order=order) - elif order in "AK": - # memory layout is assumed to be "C" - return pt.reshape(a, (-1,), order="C") else: - raise ValueError("`order` can be one of 'F', 'C', 'A' or 'K'. " + raise ValueError("`order` can be one of 'F' or 'C'. " f"(got {order})") return rec_map_array_container(_rec_ravel, a)