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

Fix for node grouping bug (See #948) #949

Merged
merged 1 commit into from
Jun 13, 2024
Merged

Fix for node grouping bug (See #948) #949

merged 1 commit into from
Jun 13, 2024

Conversation

elijahbenizzy
Copy link
Collaborator

No description provided.

@elijahbenizzy elijahbenizzy changed the title WIP #948 Fix for node grouping bug (See #948) Jun 12, 2024
@elijahbenizzy elijahbenizzy force-pushed the hanging-parallelism branch 2 times, most recently from 782a96f to 6eda909 Compare June 12, 2024 22:00
@elijahbenizzy elijahbenizzy marked this pull request as ready for review June 12, 2024 22:00
Copy link
Collaborator

@skrawcz skrawcz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make sure the commit message has something more useful please :p.

E.g. what was the error before, why is this better, etc.

Before we had difficulty with the traversal when determining a parallel
block. The algorithm was broken and would often traverse to the end,
including source nodes. This just rewrites it -- I didn't bother
debugigng because the approach was not great from the start. This does a
simple DFS + uses a nonlocal variable to track the origin (and update
it), so we can return it.

See #948 for context.
@skrawcz skrawcz merged commit ea33f4a into main Jun 13, 2024
23 checks passed
@skrawcz skrawcz deleted the hanging-parallelism branch June 13, 2024 06:34
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.

2 participants