Repository navigation
Store stop indices in leg and use them to simplify logic in TripTimeShortHelper - #3820
Merged
hannesj merged 1 commit intoJan 25, 2022
Merged
Conversation
t2gran
reviewed
Jan 20, 2022
leonardehrenfried
previously approved these changes
Jan 21, 2022
leonardehrenfried
left a comment
Member
There was a problem hiding this comment.
This is good to go if you rename the variable as @t2gran suggests.
hannesj
force-pushed
the
otp2_fix_TripTimeShortHelper
branch
from
January 25, 2022 00:42
0a1b70d to
8896896
Compare
leonardehrenfried
approved these changes
Jan 25, 2022
t2gran
approved these changes
Jan 25, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Currently the matching for the estimated calls sometimes fail. This simplifies the logic and stores the proper stop indices in the leg. These indices could be used in the future to remove things from the
Leg, which could be fetched in the mappers.Unit tests
None changed
Code style
✅
Documentation
None needed
Changelog
The changelog file
is generated from the pull-request title, make sure the title describe the feature or issue fixed.
To exclude the PR from the changelog add
[changelog skip]in the title.