Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
abkein committed Jan 17, 2025
1 parent 3e47282 commit f3ee7a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fix_cluster_crush_delete.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ void FixClusterCrushDelete::pre_exchange()
}
}

std::sort(p2m.data(), p2m.data() + p2m.size(), std::greater<int>());
std::sort(p2m.data(), p2m.data() + atoms2move_local, std::greater<int>());

c2c.reset();
c2c[comm->me] = clusters2crush_local;
Expand Down

0 comments on commit f3ee7a8

Please sign in to comment.