Skip to content

Commit

Permalink
fixed issue with keep_unsynchronized
Browse files Browse the repository at this point in the history
  • Loading branch information
hannorein committed Aug 22, 2019
1 parent a156b4e commit a55b4f2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/integrator_saba.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a55b4f2

Please sign in to comment.