Skip to content

Bugfixes in router_result.c#175

Open
PaulWagener wants to merge 2 commits intobliksemlabs:tdata4from
PaulWagener:fix_result_to_plan_output
Open

Bugfixes in router_result.c#175
PaulWagener wants to merge 2 commits intobliksemlabs:tdata4from
PaulWagener:fix_result_to_plan_output

Conversation

@PaulWagener
Copy link
Copy Markdown

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.

1 participant