Skip to content

Commit

Permalink
STYLE: Remove redundant Fill(0) MultiResolutionImageRegistrationMethod2
Browse files Browse the repository at this point in the history
No need to "reset" its own Parameters inside its default-constructor
  • Loading branch information
N-Dekker committed Jul 10, 2024
1 parent bd4da9a commit 3695445
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Common/itkMultiResolutionImageRegistrationMethod2.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,6 @@ MultiResolutionImageRegistrationMethod2<TFixedImage, TMovingImage>::MultiResolut

this->m_Stop = false;

this->m_InitialTransformParameters = ParametersType(0);
this->m_InitialTransformParametersOfNextLevel = ParametersType(0);
this->m_LastTransformParameters = ParametersType(0);

this->m_InitialTransformParameters.Fill(0.0f);
this->m_InitialTransformParametersOfNextLevel.Fill(0.0f);
this->m_LastTransformParameters.Fill(0.0f);

this->ProcessObject::SetNthOutput(0, TransformOutputType::New().GetPointer());

} // end Constructor
Expand Down

0 comments on commit 3695445

Please sign in to comment.