Skip to content

Conversation

Akronix
Copy link

@Akronix Akronix commented Mar 13, 2024

Firts clear flags of previous changes made by treenetproc, add the 'rev' flag and then do the other manual corrections.

This comes out from the need that sometimes we want to reverse a change made by treenetproc and, at the same item position, force a jump. With the previous code, the force jump got a NA value since there was a 'fill' flag when the forcejump function was executing (see second statement of the forcejump function). This was because removing the previous flags and setting the 'rev' flag was done after all the corrections are made.

Akronix added 2 commits March 13, 2024 17:36
Firts clear flags of previous changes made by treenetproc, add the 'rev' flag and then do the other manual corrections.

This comes out from the need that sometimes we want to reverse a change made by treenetproc and, at the same item position, force a jump. With the previous code, the force jump got a NA value since there was a 'fill' flag when the forcejump function was executing (see second statement of the forcejump function). This was because removing the previous flags and setting the 'rev' flag was done after all the corrections are made.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant