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

Add tsk_tree_position_step function to C API #2825

Closed
duncanMR opened this issue Aug 23, 2023 · 0 comments · Fixed by #2874
Closed

Add tsk_tree_position_step function to C API #2825

duncanMR opened this issue Aug 23, 2023 · 0 comments · Fixed by #2874
Labels
C API Issue is about the C API

Comments

@duncanMR
Copy link
Contributor

duncanMR commented Aug 23, 2023

It came up in #2651 (comment here) would be useful to have a function tsk_tree_position_step(&tree_pos, direction) in the C API which shifts the tree position forwards or backwards depending on the direction argument. This would be building on the modular incremental trees code introduced in #2786.

I implemented a Python version of this function in #2819; we need to translate it into C and add requisite tests and documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C API Issue is about the C API
Projects
None yet
2 participants