Skip to content

Commit

Permalink
Process warning messages after calling integrator_synchronize from py…
Browse files Browse the repository at this point in the history
…thon.
  • Loading branch information
hannorein committed Jul 15, 2024
1 parent 7eb5ad1 commit f9e51e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rebound/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1417,6 +1417,7 @@ def integrator_synchronize(self):
Call this function if safe-mode is disabled and you need to synchronize particle positions and velocities between timesteps.
"""
clibrebound.reb_simulation_synchronize(byref(self))
self.process_messages()

def tree_update(self):
"""
Expand Down

0 comments on commit f9e51e1

Please sign in to comment.