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

Bugfixes in router_result.c #175

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

Conversation

PaulWagener
Copy link

You might want to hold off on merging these bugfixes. Currently almost all plans do not pass the invariants which will result in no output to the user.

In the previous situation two bugs cancelled each other out resulting in all plans being valid.

`check_plan_invariants()` returns *true* if there is a fail, while `router_result_to_plan()` returns *false* if there is a fail. Hence the need to invert the output before returning.
These prevent every single plan from failing the invariants checking.
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.

None yet

1 participant