diff --git a/rebound/simulation.pyi b/rebound/simulation.pyi index 51adabd..fcf2e3d 100644 --- a/rebound/simulation.pyi +++ b/rebound/simulation.pyi @@ -324,7 +324,7 @@ class Simulation(Structure): def multiply(self, scalar_pos: float, scalar_vel: float) -> None: ... - def create_ode(self, length: int, needs_nbody: bool) -> ODE: ... + def create_ode(self, length: int, needs_nbody: bool = True) -> ODE: ... def status(self) -> None: ...