Skip to content

Commit

Permalink
GraphPartitioner.cpp: fixed Merge function to handle duplicated parti…
Browse files Browse the repository at this point in the history
…tions. (#9929)

Co-authored-by: Achira <[email protected]>
  • Loading branch information
jeffbloo and AchiraSoph authored Jan 10, 2022
1 parent 5cd57bb commit 32ee379
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ namespace Dml

for (GraphPartition* partitionToMerge : partitionsToMerge)
{
if (partitionToMerge == this)
if (partitionToMerge->GetRootMergedPartition() == this)
{
continue;
}
Expand Down

0 comments on commit 32ee379

Please sign in to comment.