Commit 854c66b9 authored by James Willis's avatar James Willis
Browse files

Formatting.

parent ae163756
......@@ -661,7 +661,7 @@ void runner_dopair1_density_vec(struct runner *r, struct cell *ci,
/* Check if any particles are active and return if there are not. */
int numActive = 0;
if(active_ci) {
if (active_ci) {
for (int pid = count_i - 1;
pid >= 0 && sort_i[pid].d + hi_max + dx_max > dj_min; pid--) {
struct part *restrict pi = &parts_i[sort_i[pid].i];
......@@ -873,8 +873,7 @@ void runner_dopair1_density_vec(struct runner *r, struct cell *ci,
/* Skip this particle if no particle in ci is within range of it. */
const float hj = cj_cache->h[cj_cache_idx];
const double dj_test =
sort_j[pjd].d - hj * kernel_gamma - dx_max;
const double dj_test = sort_j[pjd].d - hj * kernel_gamma - dx_max;
if (dj_test > di_max) continue;
/* Determine the exit iteration of the interaction loop. */
......
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