-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fix: update range end when merging overlapping subarray ranges. (#…
…5268) Bug fix: update range end when merging overlapping subarray ranges. Previously, when merging overlapping ranges, the new range end would _always_ be updated to that of the merged range. This was a _clear_ issue if one range was fully encompassed within another. For example, if range `{3, 4}` were merged into `{1, 10}`, the old behavior would produce a new range of `{1, 4}`. This PR fixes the bug simply, taking the larger of the two range ends on merge. [sc-53970] --- TYPE: BUG DESC: Update range end when merging overlapping subarray ranges. --------- Co-authored-by: KiterLuc <[email protected]> Co-authored-by: Luc Rancourt <[email protected]>
- Loading branch information
1 parent
84ff80c
commit 7fd6328
Showing
3 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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