Skip to content

Commit

Permalink
use get_values instead of iter_values
Browse files Browse the repository at this point in the history
Co-authored-by: Joren Dumoulin <[email protected]>
  • Loading branch information
superlopuh and jorendumoulin committed Nov 29, 2024
1 parent 25d55b3 commit f0e1a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xdsl/dialects/cf.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def case_operand(self) -> tuple[VarOperand, ...]:

def_sizes = cast(
tuple[int, ...],
tuple(size for size in self.case_operand_segments.iter_values()),
self.case_operand_segments.get_values(),
)

if sum(def_sizes) != len(self.case_operands):
Expand Down

0 comments on commit f0e1a4f

Please sign in to comment.