Skip to content

Commit 8743567

Browse files
authored
Revert "return single op (#71)" (#72)
1 parent e3a880d commit 8743567

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/extras/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def find(op):
118118
find(o)
119119

120120
find(op)
121-
if len(matching) == 1:
121+
if single:
122122
matching = matching[0]
123123
return matching
124124

0 commit comments

Comments
 (0)