Skip to content

corner case bug fixes #678

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

corner case bug fixes #678

wants to merge 2 commits into from

Conversation

MyskYko
Copy link

@MyskYko MyskYko commented Jun 17, 2025

  • window rewriting (cyclic re-substitution)
    if a loop is found in the middle, the following nodes will not be removed (take_out_node).
    returning true/false in the function object does not affect insert_ntk, so it keeps going, possibly previously already removed nodes in the case where the same node is substituting multiple window outputs.

  • window construction (reallocation of vector with a referenced element)
    level is a reference to an element of levels, while levels may be resized within the loop, that may cause reallocation, invalidating the reference to the element.

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