Commit b2b3562a authored by Jacob Kegerreis 's avatar Jacob Kegerreis
Browse files

Revert "Fix problem in cell_has_tasks()"

This reverts commit abd4f4ce.
parent 69ecf390
......@@ -4626,9 +4626,9 @@ void cell_set_super_mapper(void *map_data, int num_elements, void *extra_data) {
*/
int cell_has_tasks(struct cell *c) {
#ifdef WITH_MPI
if (c->timestep_in != NULL || c->mpi.recv != NULL) return 1;
if (c->timestep != NULL || c->mpi.recv != NULL) return 1;
#else
if (c->timestep_in != NULL) return 1;
if (c->timestep != NULL) return 1;
#endif
if (c->split) {
......
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