Skip to content

Commit

Permalink
Update pyop2/codegen/builder.py
Browse files Browse the repository at this point in the history
Co-authored-by: Connor Ward <[email protected]>
  • Loading branch information
ksagiyam and connorjward authored Jun 14, 2024
1 parent b9c031a commit 941007b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pyop2/codegen/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 941007b

Please sign in to comment.