From 2101aafb8c9cd36f1dcc10a9e9792f159ac3bf2d Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <schaller@strw.leidenuniv.nl> Date: Fri, 5 Apr 2019 15:37:00 +0100 Subject: [PATCH] Do not update the gravity time-step in the cell_add_spart() function. --- src/cell.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/cell.c b/src/cell.c index cb2f3062cb..c4b738e112 100644 --- a/src/cell.c +++ b/src/cell.c @@ -4675,11 +4675,9 @@ struct spart *cell_add_spart(struct engine *e, struct cell *const c) { */ struct cell *top2 = c; while (top2->parent != NULL) { - top2->grav.ti_end_min = e->ti_current; top2->stars.ti_old_part = e->ti_current; top2 = top2->parent; } - top2->grav.ti_end_min = e->ti_current; top2->stars.ti_old_part = e->ti_current; /* Release the lock */ -- GitLab