Skip to content

Commit

Permalink
STYLE: Remove obsolete itkDebugMacro("Constructor") calls
Browse files Browse the repository at this point in the history
As suggested by Bradley Lowekamp and Dženan Zukić.
  • Loading branch information
N-Dekker authored and dzenanz committed Feb 4, 2022
1 parent 6914bfa commit 48cc9e5
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 14 deletions.
5 changes: 1 addition & 4 deletions Modules/Numerics/Optimizers/src/itkExhaustiveOptimizer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ namespace itk
/**
* Constructor
*/
ExhaustiveOptimizer::ExhaustiveOptimizer()
{
itkDebugMacro("Constructor");
}
ExhaustiveOptimizer::ExhaustiveOptimizer() = default;

/**
* Start walking
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ namespace itk
GradientDescentOptimizer::GradientDescentOptimizer()

{
itkDebugMacro("Constructor");

m_StopConditionDescription << this->GetNameOfClass() << ": ";
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ namespace itk
RegularStepGradientDescentBaseOptimizer::RegularStepGradientDescentBaseOptimizer()

{
itkDebugMacro("Constructor");

m_MaximumStepLength = 1.0;
m_MinimumStepLength = 1e-3;
m_GradientMagnitudeTolerance = 1e-4;
Expand Down
2 changes: 0 additions & 2 deletions Modules/Numerics/Optimizers/src/itkSPSAOptimizer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ namespace itk
SPSAOptimizer ::SPSAOptimizer()

{
itkDebugMacro("Constructor");

m_CurrentIteration = 0;
m_Maximize = false;
m_StopCondition = StopConditionSPSAOptimizerEnum::Unknown;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ namespace itk
template <typename TFixedImage, typename TMovingImage>
HistogramImageToImageMetric<TFixedImage, TMovingImage>::HistogramImageToImageMetric()
{
itkDebugMacro("Constructor");

m_HistogramSize.Fill(256);
m_UsePaddingValue = false;
m_DerivativeStepLength = 0.1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ namespace itk
template <typename TFixedImage, typename TMovingImage>
MatchCardinalityImageToImageMetric<TFixedImage, TMovingImage>::MatchCardinalityImageToImageMetric()
{
itkDebugMacro("Constructor");

this->SetComputeGradient(false); // don't use the default gradients
m_MeasureMatches = true; // default to measure percentage of pixel
// matches
Expand Down

0 comments on commit 48cc9e5

Please sign in to comment.