Skip to content

compiler: Tweak use of degenerating_indices when determining iteration directions#2873

Open
EdCaunt wants to merge 2 commits intomainfrom
hotfix-degenerating-indices
Open

compiler: Tweak use of degenerating_indices when determining iteration directions#2873
EdCaunt wants to merge 2 commits intomainfrom
hotfix-degenerating-indices

Conversation

@EdCaunt
Copy link
Contributor

@EdCaunt EdCaunt commented Mar 19, 2026

Tweaking the logic for treatment of degenerating indices created through Buffer(1) made the time loop direction default to forward in setups where it shouldn't. This hotfix should correct this behaviour and introduces additional checks for this.

@codecov
Copy link

codecov bot commented Mar 19, 2026

Codecov Report

❌ Patch coverage is 90.90909% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.06%. Comparing base (805394b) to head (5326df0).

Files with missing lines Patch % Lines
tests/test_mpi.py 20.00% 4 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2873   +/-   ##
=======================================
  Coverage   79.05%   79.06%           
=======================================
  Files         248      248           
  Lines       51252    51276   +24     
  Branches     4428     4431    +3     
=======================================
+ Hits        40518    40539   +21     
- Misses       9924     9927    +3     
  Partials      810      810           

☔ 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.

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