Skip to content

Commit

Permalink
Merge pull request #34 from esc/fix_set_init
Browse files Browse the repository at this point in the history
Fix set intialisation in region iterator
  • Loading branch information
kc611 authored Apr 4, 2023
2 parents 6174bab + 66729df commit 1dce90f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numba_rvsdg/core/datastructures/scfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ def iterate_region(self, region_name, region_view=False):
region_head = region.header if region_name is not self.meta_region else self.find_head()

# initialise housekeeping datastructures
to_visit, seen = [region_head], set
to_visit, seen = [region_head], set()
while to_visit:
# get the next block_name on the list
block_name = to_visit.pop(0)
Expand Down

0 comments on commit 1dce90f

Please sign in to comment.