diff --git a/few/trajectory/inspiral.py b/few/trajectory/inspiral.py index f3eed82f..96c7eb29 100644 --- a/few/trajectory/inspiral.py +++ b/few/trajectory/inspiral.py @@ -375,6 +375,8 @@ def get_rhs_ode( y0 = np.array([y1, y2, y3, Phi_phi0, Phi_theta0, Phi_r0]) - out = self.inspiral_generator.func(np.r_[y0, *args]) + y0_and_args = np.concatenate(([y0], args)) + out = self.inspiral_generator.func(y0_and_args) + # out = self.inspiral_generator.func(np.r_[y0, *args]) return out