Skip to content
Snippets Groups Projects
Commit ba05aa17 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

Merge branch 'parallel_sorting' of gitlab.cosma.dur.ac.uk:swift/swiftsim into parallel_sorting,

aparently some edit conflicts.
parents 5c6f3e86 c0234843
No related branches found
No related tags found
1 merge request!50Parallel sorting
...@@ -557,7 +557,7 @@ void engine_repartition(struct engine *e) { ...@@ -557,7 +557,7 @@ void engine_repartition(struct engine *e) {
/* Check that the nodeIDs are ok. */ /* Check that the nodeIDs are ok. */
for (k = 0; k < nr_cells; k++) for (k = 0; k < nr_cells; k++)
if (nodeIDs[k] < 0 || nodeIDs[k] >= nr_nodes) if (nodeIDs[k] < 0 || nodeIDs[k] >= nr_nodes)
error("Got bad nodeID %i for cell %i.", nodeIDs[k], k); error("Got bad nodeID %"PRIDX" for cell %i.", nodeIDs[k], k);
} }
/* Broadcast the result of the partition. */ /* Broadcast the result of the partition. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment