sblunt / orbitize

Orbit-fitting for directly imaged objects
https://orbitize.info
Other
74 stars 43 forks source link

fix nbody indexing error & add unit test #360

Closed sblunt closed 5 months ago

sblunt commented 7 months ago

Fix for issue #357

sblunt commented 6 months ago

The nbody code was throwing an indexing error when used in an MCMC run (issue #357). I fixed the error and added a unit test. I also made the choice of nbody backend integrator a keyword.

sblunt commented 5 months ago

Thanks for catching the docstring errors. I updated it to be consistent with the way the function works.