Commit abd4f4ce authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Fix problem in cell_has_tasks()

parent 9b3539f0
......@@ -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 != NULL || c->mpi.recv != NULL) return 1;
if (c->timestep_in != NULL || c->mpi.recv != NULL) return 1;
#else
if (c->timestep != NULL) return 1;
if (c->timestep_in != 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