Skip to content

Commit

Permalink
Merge pull request #4591 from hjmjohnson/fix-trasform-spelling
Browse files Browse the repository at this point in the history
STYLE: Spelling Trasform->Transform fixes.
  • Loading branch information
thewtex authored Apr 17, 2024
2 parents 2a1265d + 6324749 commit 318139a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Documentation/docs/releases/4.11.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ Bill Lorensen (4):

Bradley Lowekamp (57):

`     ENH: Add registered TrasformIO's to exception`\
`     ENH: Add registered TransformIO's to exception`\
`     ENH: Use template or constant for loop stop condition`\
`     ENH: Updating SWIG version to 3.0.9`\
`     COMP: Address VS9 ambiguous std::abs call in Haung calculator`\
Expand Down Expand Up @@ -206,7 +206,7 @@ Bradley Lowekamp (57):
`     ENH: Mark HDF5 CMake options as internal`\
`     COMP: Add template export declaration for ParametricPath`\
`     COMP: Correct TEMPLATE_EXPLICIT definition in Path module`\
`     ENH: Factor out common code in the TrasformFactoryBase registration`\
`     ENH: Factor out common code in the TransformFactoryBase registration`\
`     ENH: Add CMake variable for max transform dimension, defaults 4`\
`     ENH: Create CMake module to check for private RTTI compatibility`\
`     ENH: Improving setting of default ITK_TEMPATE_VISIBILITY_DEFAULT`\
Expand Down
12 changes: 6 additions & 6 deletions Modules/Core/Common/test/itkImageTest.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,12 @@ itkImageTest(int, char *[])
volume->SetRegions(cuboid);

using ProjectionTransformType = TestTransform<Image3D::ImageDimension>;
ProjectionTransformType * projectionTrasform = new ProjectionTransformType;
ProjectionTransformType * projectionTransform = new ProjectionTransformType;

Image::RegionType rectangleRegion = itk::ImageAlgorithm::EnlargeRegionOverBox(
volume->GetLargestPossibleRegion(), volume.GetPointer(), imageRef.GetPointer(), projectionTrasform);
volume->GetLargestPossibleRegion(), volume.GetPointer(), imageRef.GetPointer(), projectionTransform);

delete projectionTrasform;
delete projectionTransform;
Image::IndexType correctRectangleIndex;
correctRectangleIndex.Fill(0);
Image::SizeType correctRectangleSize;
Expand All @@ -209,12 +209,12 @@ itkImageTest(int, char *[])
}

using TestIdentityTransformType = TestTransform<Image::ImageDimension>;
TestIdentityTransformType * testIdentityTrasform = new TestIdentityTransformType;
TestIdentityTransformType * testIdentityTransform = new TestIdentityTransformType;

Image::RegionType tesBoxRegion = itk::ImageAlgorithm::EnlargeRegionOverBox(
image->GetLargestPossibleRegion(), image.GetPointer(), imageRef.GetPointer(), testIdentityTrasform);
image->GetLargestPossibleRegion(), image.GetPointer(), imageRef.GetPointer(), testIdentityTransform);

delete testIdentityTrasform;
delete testIdentityTransform;

if (!(tesBoxRegion.GetIndex() == correctIndex) || !(tesBoxRegion.GetSize() == correctSize))
{
Expand Down

0 comments on commit 318139a

Please sign in to comment.