esa / pykep

PyKEP is a scientific library providing basic tools for research in interplanetary trajectory design.
http://esa.github.io/pykep/
GNU General Public License v3.0
334 stars 96 forks source link

Compute period only works with epoch #166

Open gomezzz opened 1 year ago

gomezzz commented 1 year ago

Calling my_planet.compute_period() (as suggested in docs here) on a keplerian planet leads to

ArgumentError: Python argument types in
    _base.compute_period(keplerian)
did not match C++ signature:
    compute_period(class kep_toolbox::planet::base {lvalue}, class kep_toolbox::epoch)

Guess, the epoch isn't optional? (with it it works)

This is pykep 2.6 py310hb576dac_6 conda-forge on win