Commit 5da42d3e authored by James Willis's avatar James Willis
Browse files

dopair2_force_vec now works.

parent 497e2fd1
...@@ -1468,9 +1468,6 @@ void runner_dopair2_force_vec(struct runner *r, struct cell *ci, ...@@ -1468,9 +1468,6 @@ void runner_dopair2_force_vec(struct runner *r, struct cell *ci,
hj_max, di_max, dj_min, max_index_i, max_index_j, hj_max, di_max, dj_min, max_index_i, max_index_j,
&first_pi, &last_pj, e); &first_pi, &last_pj, e);
first_pi = 0;
last_pj = count_j - 1;
/* Limits of the outer loops. */ /* Limits of the outer loops. */
int first_pi_loop = first_pi; int first_pi_loop = first_pi;
int last_pj_loop = last_pj; int last_pj_loop = last_pj;
...@@ -1480,9 +1477,6 @@ void runner_dopair2_force_vec(struct runner *r, struct cell *ci, ...@@ -1480,9 +1477,6 @@ void runner_dopair2_force_vec(struct runner *r, struct cell *ci,
last_pj = max(last_pj, max_index_i[count_i - 1]); last_pj = max(last_pj, max_index_i[count_i - 1]);
first_pi = min(first_pi, max_index_j[0]); first_pi = min(first_pi, max_index_j[0]);
first_pi = 0;
last_pj = count_j - 1;
/* Read the needed particles into the two caches. */ /* Read the needed particles into the two caches. */
int first_pi_align = first_pi; int first_pi_align = first_pi;
int last_pj_align = last_pj; int last_pj_align = last_pj;
......
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