Skip to content

Commit 93ff353

Browse files
N-Dekkerdzenanz
authored andcommitted
STYLE: Remove reserve call from MultiResolutionImageRegistrationMethod
It appears unnecessary to call `reserve`, just before calling `resize`.
1 parent cb2db34 commit 93ff353

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Modules/Registration/Common/include/itkMultiResolutionImageRegistrationMethod.hxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ MultiResolutionImageRegistrationMethod<TFixedImage, TMovingImage>::PreparePyrami
223223

224224
const SizeValueType numberOfLevels = m_FixedImagePyramid->GetNumberOfLevels();
225225

226-
m_FixedImageRegionPyramid.reserve(numberOfLevels);
227226
m_FixedImageRegionPyramid.resize(numberOfLevels);
228227

229228
// Compute the FixedImageRegion corresponding to each level of the

0 commit comments

Comments
 (0)