diff --git a/src/runner.c b/src/runner.c index 5bdf3a443f195711b1fe09069d78afa0e48bbe71..e88f4ec1e3e4cc08f79cc0e53efd13d91aea8c1b 100644 --- a/src/runner.c +++ b/src/runner.c @@ -508,8 +508,8 @@ void runner_do_ghost(struct runner *r, struct cell *c) { /* Finish the density calculation */ hydro_end_density(p, ti_current); - float h_corr = 0.f; - + float h_corr = 0.f; + /* If no derivative, double the smoothing length. */ if (p->density.wcount_dh == 0.0f) h_corr = p->h;