Skip to content

Bug fix: update levels in Nft::unite_nondet_with#614

Merged
Adda0 merged 1 commit intoVeriFIT:develfrom
bruderjakob17:nft_unite_nondet_with_levels_fix
Mar 18, 2026
Merged

Bug fix: update levels in Nft::unite_nondet_with#614
Adda0 merged 1 commit intoVeriFIT:develfrom
bruderjakob17:nft_unite_nondet_with_levels_fix

Conversation

@bruderjakob17
Copy link
Copy Markdown

Currently, the Nft::unite_nondet_with function in src/nft/operations.cc copies the levels of the LHS transducer, but does not update them with the RHS levels. This leads to unexpected segfaults when trying to get the level of some state in the result which is part of the RHS nft.

@bruderjakob17 bruderjakob17 requested a review from Adda0 as a code owner March 17, 2026 12:42
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.91%. Comparing base (b5f27b8) to head (010ee52).
⚠️ Report is 20 commits behind head on devel.

Additional details and impacted files
@@           Coverage Diff           @@
##            devel     #614   +/-   ##
=======================================
  Coverage   72.90%   72.91%           
=======================================
  Files          45       45           
  Lines        6795     6796    +1     
  Branches     1538     1538           
=======================================
+ Hits         4954     4955    +1     
  Misses       1227     1227           
  Partials      614      614           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Collaborator

@Adda0 Adda0 left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you for the fix.

@Adda0 Adda0 merged commit d84b5ce into VeriFIT:devel Mar 18, 2026
18 checks passed
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