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
......@@ -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;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment