Commit 8c7d70a9 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

don't assume the split flag is set correctly.

parent bd8cfb30
......@@ -316,6 +316,7 @@ int cell_unpack(struct pcell *restrict pc, struct cell *restrict c,
int count = 1;
/* Fill the progeny recursively, depth-first. */
c->split = 0;
for (int k = 0; k < 8; k++)
if (pc->progeny[k] >= 0) {
struct cell *temp;
......
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