From a17eb3e4ffc13de7722d286fc67e31671f473cf9 Mon Sep 17 00:00:00 2001 From: David Minton Date: Tue, 27 Feb 2024 15:40:38 -0500 Subject: [PATCH] Removed unecessary arguments now that it can handle a central body input --- examples/spherical_harmonics_cb/spherical_harmonics_cb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/spherical_harmonics_cb/spherical_harmonics_cb.py b/examples/spherical_harmonics_cb/spherical_harmonics_cb.py index 0abc41cf1..280359190 100644 --- a/examples/spherical_harmonics_cb/spherical_harmonics_cb.py +++ b/examples/spherical_harmonics_cb/spherical_harmonics_cb.py @@ -49,7 +49,7 @@ # Add the central body # The user can pass the c_lm coefficients directly to the add_body method if they do not wish to use the clm_from_ellipsoid method. -sim.add_body(name = 'Chariklo', id = 0, mass = cb_mass, rot = cb_rot, radius = cb_radius, a = 0.0, e = 0.0, inc = 0.0, capom = 0.0, omega = 0.0, capm = 0.0, c_lm = c_lm) +sim.add_body(name = 'Chariklo', mass = cb_mass, rot = cb_rot, radius = cb_radius, c_lm = c_lm) # Add user-defined massive bodies npl = 5