diff --git a/pyop2/codegen/builder.py b/pyop2/codegen/builder.py index 9de773a9f..382325ba3 100644 --- a/pyop2/codegen/builder.py +++ b/pyop2/codegen/builder.py @@ -75,9 +75,8 @@ def shape(self): def dtype(self): return self.values.dtype - @property - def _permute(self): - return lambda x: x + def _permute(self, x): + return x def indexed(self, multiindex, layer=None): n, i, f = multiindex