Commit f40c4d49 authored by James Willis's avatar James Willis
Browse files

Added check to see if cells have been drifted.

parent 8041125c
......@@ -989,10 +989,8 @@ void runner_dopair1_density_vec(struct runner *r, struct cell *ci, struct cell *
/* Anything to do here? */
if (!cell_is_active(ci, e) && !cell_is_active(cj, e)) return;
cell_is_drifted(ci, e);
cell_is_drifted(cj, e);
if (!cell_is_drifted(ci, e)) cell_drift_particles(ci, e);
if (!cell_is_drifted(cj, e)) cell_drift_particles(cj, e);
/* Get the sort ID. */
double shift[3] = {0.0, 0.0, 0.0};
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