Commit 8e3f584c authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Check that all cells are drifted after a call to engine_drift_all

parent aedde1a8
......@@ -2810,6 +2810,11 @@ void engine_drift_all(struct engine *e) {
threadpool_map(&e->threadpool, runner_do_drift_mapper, e->s->cells_top,
e->s->nr_cells, sizeof(struct cell), 1, e);
/* Check that all cells have been drifted to the current time. */
space_check_drift_point(e->s, e->ti_current);
if (e->verbose)
message("took %.3f %s.", clocks_from_ticks(getticks() - tic),
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