From b6f1b53103c9fe0bf427832be3c53d4ae0efae08 Mon Sep 17 00:00:00 2001 From: Lukas Winkler Date: Sat, 12 Mar 2022 18:37:57 +0100 Subject: [PATCH] fix types for create_ode --- rebound/simulation.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: ...