From a55b4f2ae7df581da893c3d3313e887657624326 Mon Sep 17 00:00:00 2001 From: Hanno Rein Date: Thu, 22 Aug 2019 13:20:02 +0000 Subject: [PATCH] fixed issue with keep_unsynchronized --- src/integrator_saba.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/integrator_saba.c b/src/integrator_saba.c index d2ba09f10..ff477f74f 100644 --- a/src/integrator_saba.c +++ b/src/integrator_saba.c @@ -260,7 +260,6 @@ void reb_integrator_saba_synchronize(struct reb_simulation* const r){ reb_whfast_com_step(r, reb_saba_c[type%0x100][0]*r->dt); } reb_transformations_jacobi_to_inertial_posvel(r->particles, ri_whfast->p_jh, r->particles, N); - ri_saba->is_synchronized = 1; if (ri_saba->keep_unsynchronized){ memcpy(r->ri_whfast.p_jh,sync_pj,r->N*sizeof(struct reb_particle)); free(sync_pj);