diff --git a/src/runner.c b/src/runner.c index 71fcca63f499f608b103893444dc524b563b66fc..ac7f8877ba538493786429804523fb83fd342e2f 100644 --- a/src/runner.c +++ b/src/runner.c @@ -1535,10 +1535,8 @@ void *runner_main(void *data) { if (t->subtype == task_subtype_tend) { cell_unpack_ti_ends(ci, t->buff); free(t->buff); - } else if (t->subtype == task_subtype_xv) { - runner_do_recv_part(r, ci, 1); - /* Only need to update h_max if the cell has active particles */ - } else if (t->subtype == task_subtype_rho && cell_is_active(ci, e)) { + } else if (t->subtype == task_subtype_xv || + t->subtype == task_subtype_rho) { runner_do_recv_part(r, ci, 1); } else if (t->subtype == task_subtype_gpart) { runner_do_recv_gpart(r, ci, 1);