Commit 7e578468 authored by James Willis's avatar James Willis
Browse files

Merge branch 'correct_position_checks_after_drift' into correct_vec_neighbour_find

parents bb5ea549 9b5ddbec
......@@ -325,7 +325,7 @@ __attribute__((always_inline)) INLINE static void populate_max_index_no_cache(
last_pj = active_id;
/* Find the maximum index into cell i for each particle in range in cell j. */
if (last_pj > 0) {
if (last_pj >= 0) {
/* Start from the last particle in cell i. */
temp = ci->count - 1;
......
......@@ -4,8 +4,18 @@ echo ""
rm -f brute_force_pair_active.dat swift_dopair_active.dat
echo "Running ./testActivePair -n 6 -r 1 -d 0 -f active"
./testActivePair -n 6 -r 1 -d 0 -f active
python @srcdir@/difffloat.py brute_force_active.dat swift_dopair_active.dat @srcdir@/tolerance_pair_active.dat
rm -f brute_force_pair_active.dat swift_dopair_active.dat
echo "Running ./testActivePair -n 6 -r 1 -d 0 -f active -s 1506434777"
./testActivePair -n 6 -r 1 -d 0 -f active -s 1506434777
python @srcdir@/difffloat.py brute_force_active.dat swift_dopair_active.dat @srcdir@/tolerance_pair_active.dat
exit $?
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