forked from InsightSoftwareConsortium/ITK
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
STYLE: Rename _GetImageViewFromArray to GetImageViewFromContiguousArray
Aims to clarify the difference between the C++ `itk::PyBuffer` member function (which only supports contiguous arrays as input) and the Python method `itkPyBuffer.GetImageViewFromArray` (which supports *both* contiguous and non-contiguous arrays). This commit also removes the leading underscore, as identifiers beginning with an underscore, followed by an uppercase letter are reserved by the C++ standard. Follow-up to pull request InsightSoftwareConsortium#4888 commit b769b81 "BUG: PyBuffer _GetImageViewFromArray should reject non-contiguous buffer"
- Loading branch information
Showing
3 changed files
with
7 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
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