Skip to content

Commit

Permalink
STYLE: remove duplicated itkMath.h headers
Browse files Browse the repository at this point in the history
17 files had `#include "itkMath.h"` twice and one file 3 times
  • Loading branch information
issakomi authored and N-Dekker committed Jan 28, 2024
1 parent d4d7419 commit 3cafe87
Show file tree
Hide file tree
Showing 18 changed files with 0 additions and 25 deletions.
1 change: 0 additions & 1 deletion Modules/Core/Common/include/itkVariableLengthVector.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "itkMath.h"
#include <cstring>
#include <cstdlib>
#include "itkMath.h"

namespace itk
{
Expand Down
1 change: 0 additions & 1 deletion Modules/Core/Common/test/itkImageIteratorWithIndexTest.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "itkMath.h"
#include "itkImageRegionIteratorWithIndex.h"
#include "itkNumericTraits.h"
#include "itkMath.h"


template <typename TPixelType>
Expand Down
3 changes: 0 additions & 3 deletions Modules/Core/Common/test/itkMathCastWithRangeCheckTest.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
#include "itkMath.h"
#include <iostream>

#include <iostream>
#include "itkMath.h"


namespace
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "itkMath.h"
#include "itkNumericTraits.h"
#include "vnl/algo/vnl_matrix_inverse.h"
#include "itkMath.h"

namespace itk
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
*=========================================================================*/

#include <iostream>
#include "itkMath.h"

#include "itkMath.h"
#include "itkCompositeValleyFunction.h"
#include "itkStdStreamStateSave.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include "itkProgressAccumulator.h"
#include "itkMath.h"
#include "vnl/vnl_vector.h"
#include "itkMath.h"

namespace itk
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

#include <functional>
#include <queue>
#include "itkMath.h"

namespace itk
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@

#include "itkImageRegionIterator.h"
#include "itkNumericTraits.h"
#include "itkMath.h"
#include <algorithm>
#include "itkMath.h"

namespace itk
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include "itkImageRegionConstIteratorWithIndex.h"
#include "itkImageRegionIterator.h"
#include "itkImageRegionIteratorWithIndex.h"
#include "itkMath.h"


namespace itk
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@
#include "itkNumericTraits.h"
#include "itkMath.h"
#include "itkPrintHelper.h"

#include "itkMath.h"
#include "vnl/algo/vnl_matrix_inverse.h"
#include "itkMath.h"

namespace itk
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include "itkCastImageFilter.h"
#include "itkStreamingImageFilter.h"
#include "itkVectorImage.h"
#include "itkMath.h"
#include "itkTestingMacros.h"

// class to produce a linear image pattern
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include "itkProgressReporter.h"
#include "vnl/algo/vnl_real_eigensystem.h"
#include "vnl/algo/vnl_symmetric_eigensystem.h"
#include "itkMath.h"

namespace itk
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

#include "itkMath.h"
#include "itkProgressReporter.h"
#include "itkMath.h"

namespace itk
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include "itkTextOutput.h"
#include "itkMath.h"
#include "itkTestingMacros.h"
#include "itkMath.h"
#include <iostream>

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include "itkMath.h"
#include "vnl/algo/vnl_lbfgs.h"
#include "itkTestingMacros.h"
#include "itkMath.h"
#include <iostream>

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include "itkMath.h"
#include "itkJointHistogramMutualInformationImageToImageMetricv4.h"
#include "itkTranslationTransform.h"
#include "itkMath.h"
#include "itkTestingMacros.h"

/* Simple test to verify that class builds and runs.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@
#include "itkKLMSegmentationRegion.h"
#include "itkMacro.h"
#include "ITKKLMRegionGrowingExport.h"

#include "itkMath.h"
#include "vnl/vnl_vector.h"
#include "itkMath.h"

namespace itk
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include "itkIterationReporter.h"
#include "itkMath.h"
#include "itkNumericTraits.h"
#include "itkMath.h"
#include "itkPrintHelper.h"

namespace itk
Expand Down

0 comments on commit 3cafe87

Please sign in to comment.