diff --git a/src/engine_maketasks.c b/src/engine_maketasks.c index 06ac95d6e807010c968e918e649a136bd53e2cda..201bc357d7e85c89712847804e0ba3d111c8661f 100644 --- a/src/engine_maketasks.c +++ b/src/engine_maketasks.c @@ -2468,7 +2468,8 @@ void engine_addtasks_recv_mapper(void *map_data, int num_elements, /* Add the recv tasks for the cells in the proxy that have a black holes * connection. */ - if ((e->policy & engine_policy_feedback) && (type & proxy_cell_type_hydro)) + if ((e->policy & engine_policy_black_holes) && + (type & proxy_cell_type_hydro)) engine_addtasks_recv_black_holes(e, ci, NULL, NULL); /* Add the recv tasks for the cells in the proxy that have a gravity