Skip to content

Commit 1dce90f

Browse files
authored
Merge pull request #34 from esc/fix_set_init
Fix set intialisation in region iterator
2 parents 6174bab + 66729df commit 1dce90f

File tree

1 file changed

+1
-1
lines changed
  • numba_rvsdg/core/datastructures

1 file changed

+1
-1
lines changed

numba_rvsdg/core/datastructures/scfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ def iterate_region(self, region_name, region_view=False):
398398
region_head = region.header if region_name is not self.meta_region else self.find_head()
399399

400400
# initialise housekeeping datastructures
401-
to_visit, seen = [region_head], set
401+
to_visit, seen = [region_head], set()
402402
while to_visit:
403403
# get the next block_name on the list
404404
block_name = to_visit.pop(0)

0 commit comments

Comments
 (0)