From 8669b3b549aeb8e3e84fe8fe1ff5ae87c4c83c26 Mon Sep 17 00:00:00 2001 From: James Willis <james.s.willis@durham.ac.uk> Date: Sun, 4 Mar 2018 08:41:02 +0000 Subject: [PATCH] Set a2_Hubble to zero to match brute force implementation. --- tests/testInteractions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testInteractions.c b/tests/testInteractions.c index f333745766..e1028ad552 100644 --- a/tests/testInteractions.c +++ b/tests/testInteractions.c @@ -602,9 +602,9 @@ void test_force_interactions(struct part test_part, struct part *parts, const ticks vec_tic = getticks(); - /* Set cosmological variables to one. */ + /* Set cosmological variables. */ const vector v_fac_mu = vector_set1(1.f); - const vector v_a2_Hubble = vector_set1(1.f); + const vector v_a2_Hubble = vector_set1(0.f); for (size_t i = 0; i < count; i += num_vec_proc * VEC_SIZE) { -- GitLab