Skip to content

Fix final_touch order#3025

Draft
blegat wants to merge 2 commits into
masterfrom
bl/final_touch
Draft

Fix final_touch order#3025
blegat wants to merge 2 commits into
masterfrom
bl/final_touch

Conversation

@blegat

@blegat blegat commented Jul 18, 2026

Copy link
Copy Markdown
Member

Written by claude, still need to check

Closes #1980

# order (the order in which their `bridge_constraint` was called).
function _sorted_needs_final_touch(map::Map)
bridges = collect(keys(map.needs_final_touch))
sort!(bridges; by = bridge -> map.needs_final_touch[bridge])

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This probably needs to be the counter, not whether it needs final touch

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Now needs_final_touch is an integer, so this part is correct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Adding a bridge that needs final_touch bridges in the final_touch of another bridge

2 participants