Skip to content

Commit 3482431

Browse files
Update graphgen/models/partitioner/bfs_partitioner.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 8511eb5 commit 3482431

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

graphgen/models/partitioner/bfs_partitioner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def partition(
6161
if it in used_e:
6262
continue
6363
used_e.add(it)
64-
u, v = tuple(it)
64+
u, v = sorted(it)
6565
comm_e.append((u, v))
6666
cnt += 1
6767
# push nodes that are not visited

0 commit comments

Comments
 (0)