Skip to content
Snippets Groups Projects
Commit abd4f4ce authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Fix problem in cell_has_tasks()

parent 9b3539f0
Branches
Tags
3 merge requests!1109More EoS,!1108Hierarchical tasks recursion,!1099WIP: More eos
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment