Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compute period only works with epoch #166

Open
gomezzz opened this issue Jan 4, 2023 · 0 comments
Open

Compute period only works with epoch #166

gomezzz opened this issue Jan 4, 2023 · 0 comments
Labels

Comments

@gomezzz
Copy link
Contributor

gomezzz commented Jan 4, 2023

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

@gomezzz gomezzz added the bug label Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant