diff --git a/src/runner.c b/src/runner.c index 08f0432d81ecaef3fbbd4ffcca494868dad960dd..e15bed84c75bca8a33ab30cea929fd973af2fb23 100644 --- a/src/runner.c +++ b/src/runner.c @@ -1462,12 +1462,6 @@ void runner_do_ghost(struct runner *r, struct cell *c, int timer) { /* Ok, this particle is a lost cause... */ p->h = hydro_h_min; - /* Do some damage control if no neighbours at all were found */ - if (has_no_neighbours) { - hydro_part_has_no_neighbours(p, xp, cosmo); - chemistry_part_has_no_neighbours(p, xp, chemistry, cosmo); - } - } else if (p->h >= hydro_h_max) { /* Ok, this particle is a lost cause... */ diff --git a/tests/test125cells.c b/tests/test125cells.c index 7923a90f9a1ba475ade247403f58a3aecbb0e389..3b49e71163d05afdc0e33a33306121dc48a22283 100644 --- a/tests/test125cells.c +++ b/tests/test125cells.c @@ -601,7 +601,7 @@ int main(int argc, char *argv[]) { hp.eta_neighbours = h; hp.h_tolerance = 1e0; hp.h_max = FLT_MAX; - hp.h_min = h / 1e6; + hp.h_min = 0.f; hp.h_min_ratio = 0.f; hp.max_smoothing_iterations = 10; hp.CFL_condition = 0.1;