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

Fix segment indices #587

Merged
merged 4 commits into from Sep 23, 2021
Merged

Fix segment indices #587

merged 4 commits into from Sep 23, 2021

Conversation

bamx23
Copy link
Contributor

@bamx23 bamx23 commented Sep 6, 2021

There was an issue with segmentRangesByStep having the wrong range for the arrival step. Instead of being empty, it had the length of 2 as the arrival step in real responses has a geometry that is a line with the same two points (zero-length line).

cc: @1ec5

@bamx23 bamx23 requested a review from a team September 6, 2021 17:57
@S2Ler
Copy link
Contributor

S2Ler commented Sep 7, 2021

@bamx23 Do we have an issue that will be fixed by fix PR?

@bamx23
Copy link
Contributor Author

bamx23 commented Sep 7, 2021

@bamx23 Do we have an issue that will be fixed by fix PR?

We do, but it's in a private repo, linked.

@1ec5 1ec5 added this to the v2.0.0 (GA) milestone Sep 23, 2021
@1ec5 1ec5 added the bug label Sep 23, 2021
Copy link
Contributor

@1ec5 1ec5 left a comment

Choose a reason for hiding this comment

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

Suggested changelog blurb:

  • Fixed an issue where RouteLeg.segmentRangesByStep contained a range that was off by one for the arrival step of a leg. (#587)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants