From abd34debd699cf94ee01ea34f7d9add9f0b3f5ea Mon Sep 17 00:00:00 2001 From: Hanno Rein Date: Fri, 9 Feb 2024 16:35:43 -0500 Subject: [PATCH] fixed unit test in whfast512 --- examples/whfast512_unittests/problem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/whfast512_unittests/problem.c b/examples/whfast512_unittests/problem.c index f2859f560..d3af737ae 100644 --- a/examples/whfast512_unittests/problem.c +++ b/examples/whfast512_unittests/problem.c @@ -126,8 +126,8 @@ int test_basic(){ int test_number_of_planets(){ // Different numbers of planets for (int gr=0; gr<=1; gr++){ - for (int p=1; p<=9; p++){ - struct reb_simulation* r = setup_sim(9); + for (int p=2; p<=9; p++){ + struct reb_simulation* r = setup_sim(p); struct reb_simulation* r512 = reb_simulation_copy(r); r512->integrator = REB_INTEGRATOR_WHFAST512;