From 15c0cba693646269c04f245ca52f405ddfdb4a07 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 28 Oct 2019 22:29:50 +0100 Subject: Set default order for custom ndindex overload --- boltzgen/utility/ndindex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boltzgen/utility') diff --git a/boltzgen/utility/ndindex.py b/boltzgen/utility/ndindex.py index 0c5ed9b..263077a 100644 --- a/boltzgen/utility/ndindex.py +++ b/boltzgen/utility/ndindex.py @@ -5,7 +5,7 @@ import numpy.core.numeric as _nx class ndindex(numpy.ndindex): pass - def __init__(self, *shape, order): + def __init__(self, *shape, order='F'): if len(shape) == 1 and isinstance(shape[0], tuple): shape = shape[0] x = as_strided(_nx.zeros(1), shape=shape, -- cgit v1.2.3