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

core: fix identical positions when shifting envelope parts #5432

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

eckter
Copy link
Contributor

@eckter eckter commented Oct 23, 2023

Fix #5426

I couldn't quite reproduced it in a regression test, but I found a scenario that reproduced it and it was fixed after this change.

@eckter eckter requested a review from a team as a code owner October 23, 2023 13:07
@codecov
Copy link

codecov bot commented Oct 23, 2023

Codecov Report

Merging #5432 (0353a9d) into dev (ac1eaf4) will increase coverage by 0.00%.
The diff coverage is 93.33%.

@@            Coverage Diff            @@
##                dev    #5432   +/-   ##
=========================================
  Coverage     18.89%   18.89%           
  Complexity     2315     2315           
=========================================
  Files           854      854           
  Lines        102770   102781   +11     
  Branches       2403     2404    +1     
=========================================
+ Hits          19414    19424   +10     
  Misses        82015    82015           
- Partials       1341     1342    +1     
Flag Coverage Δ
core 78.77% <93.33%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
.../java/fr/sncf/osrd/envelope/part/EnvelopePart.java 81.48% <93.33%> (+0.44%) ⬆️

@eckter eckter force-pushed the ech/fix-strictly-increasing-positions branch from fbbfc28 to de36376 Compare October 24, 2023 07:59
@eckter eckter force-pushed the ech/fix-strictly-increasing-positions branch from de36376 to 0353a9d Compare October 24, 2023 09:26
@eckter eckter requested a review from multun October 24, 2023 09:27
@eckter eckter added this pull request to the merge queue Oct 30, 2023
Merged via the queue into dev with commit 49c076f Oct 30, 2023
@eckter eckter deleted the ech/fix-strictly-increasing-positions branch October 30, 2023 10:30
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.

core: assert error: "positions aren't strictly increasing"
3 participants