Skip to content
Snippets Groups Projects
Commit f3f08986 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

During a space_regrid the ti_old is set to ti_current, so we need to keep this

parent bd963d8d
No related branches found
No related tags found
1 merge request!279Improve readability of active/inactive condition
......@@ -799,7 +799,7 @@ static void runner_do_drift(struct cell *c, struct engine *e, int drift) {
if (!c->split) {
/* Check that we are actually going to move forward. */
if (ti_current > ti_old) {
if (ti_current >= ti_old) {
/* Loop over all the g-particles in the cell */
const size_t nr_gparts = c->gcount;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment