-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: fix sliced array input for reprojection (#391)
When operating on _sliced_ input, the physical offsets are incorrect because the current array points to a range not at the beginning of the array. So when creating new arrays that are not sliced, we need to subtract off the original offset of the first element. This is the primary bug from #390
- Loading branch information
1 parent
5a7f08c
commit 14a6fdc
Showing
2 changed files
with
29 additions
and
6 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