diff --git a/src/runner_doiact.h b/src/runner_doiact.h index a683c5693079da7904f446eda5e25c5b7a6eff14..a2d359edc4d201d9ec2971a629bc7f5d37e5c6c6 100644 --- a/src/runner_doiact.h +++ b/src/runner_doiact.h @@ -981,11 +981,6 @@ void DOPAIR1_BRANCH(struct runner *r, struct cell *ci, struct cell *cj) { /* Anything to do here? */ if (!cell_is_active_hydro(ci, e) && !cell_is_active_hydro(cj, e)) return; - /* Did we mess up the recursion? */ - if (max(ci->h_max, cj->h_max) * kernel_gamma > ci->dmin || - max(ci->h_max, cj->h_max) * kernel_gamma > cj->dmin) - error("Cell smaller than smoothing length"); - /* Check that cells are drifted. */ if (!cell_are_part_drifted(ci, e) || !cell_are_part_drifted(cj, e)) error("Interacting undrifted cells."); @@ -1471,11 +1466,6 @@ void DOPAIR2_BRANCH(struct runner *r, struct cell *ci, struct cell *cj) { /* Anything to do here? */ if (!cell_is_active_hydro(ci, e) && !cell_is_active_hydro(cj, e)) return; - /* Did we mess up the recursion? */ - if (max(ci->h_max, cj->h_max) * kernel_gamma > ci->dmin || - max(ci->h_max, cj->h_max) * kernel_gamma > cj->dmin) - error("Cell smaller than smoothing length"); - /* Check that cells are drifted. */ if (!cell_are_part_drifted(ci, e) || !cell_are_part_drifted(cj, e)) error("Interacting undrifted cells.");