Skip to content
Snippets Groups Projects
Commit 0d4b3d10 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Reset the debugging cell counter when rebuilding.

parent 62a7e839
No related branches found
No related tags found
1 merge request!775Allow star formation when running over MPI
......@@ -1037,6 +1037,9 @@ void space_rebuild(struct space *s, int repartitioned, int verbose) {
#ifdef SWIFT_DEBUG_CHECKS
if (s->e->nodeID == 0 || verbose) message("(re)building space");
fflush(stdout);
/* Reset the cell counter */
last_cell_id = 1;
#endif
/* Re-grid if necessary, or just re-set the cell data. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment