Commit 21fe8595 authored by James Willis's avatar James Willis
Browse files

Call vectorised version of doself_subset_density when vectorisation enabled.

parent a890a1ce
......@@ -776,7 +776,11 @@ void runner_do_ghost(struct runner *r, struct cell *c, int timer) {
/* Self-interaction? */
if (l->t->type == task_type_self)
#ifdef WITH_VECTORIZATION
runner_doself_subset_density_vec(r, finger, parts, pid, count);
#else
runner_doself_subset_density(r, finger, parts, pid, count);
#endif
/* Otherwise, pair interaction? */
else if (l->t->type == task_type_pair) {
......
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