Commit 1e487dd6 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Merge branch 'cell_graph_bug' into 'master'

make sure last_cell_id gets init when using CELL_GRAPH

See merge request !1044
parents 8a6c3b41 244d1a68
......@@ -1201,7 +1201,8 @@ void space_rebuild(struct space *s, int repartitioned, int verbose) {
if (s->e->nodeID == 0 || verbose) message("(re)building space");
#if defined(SWIFT_DEBUG_CHECKS) || defined(SWIFT_CELL_GRAPH)
/* Reset the cell counter */
last_cell_id = 1;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment