Skip to content

Commit 2b0463e

Browse files
phcerdandzenanz
authored andcommitted
COMP: Fix warnings unused type and unreachable value
`-Wtype-limits <0 always false` `-Wunused-local-typedefs ValueType`
1 parent 06f35fa commit 2b0463e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

include/itkIsotropicWaveletFrequencyFunction.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ IsotropicWaveletFrequencyFunction<TFunctionValue, VImageDimension, TInput>::Eval
9797
{
9898
return this->EvaluateForwardLowPassFilter(freq_norm_in_hz);
9999
}
100-
if (j > this->m_HighPassSubBands || j < 0)
100+
if (j > this->m_HighPassSubBands)
101101
{
102102
itkExceptionMacro(<< "Invalid sub-band.");
103103
}

test/itkRieszRotationMatrixTest.cxx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ runRieszRotationMatrixInterfaceWithRieszFrequencyFilterBankGeneratorTest()
6868
{
6969
constexpr unsigned int Dimension = 2;
7070
// Create a rotation matrix
71-
using ValueType = std::complex<double>;
7271
using SteerableMatrix = itk::RieszRotationMatrix<Dimension>;
7372
using SpatialRotationMatrix = SteerableMatrix::SpatialRotationMatrixType;
7473
SpatialRotationMatrix R;
@@ -227,7 +226,6 @@ runRieszRotationMatrixTest()
227226
bool testPassed = true;
228227
const unsigned int Dimension = VDimension;
229228

230-
using ValueType = std::complex<double>;
231229
using SteerableMatrix = itk::RieszRotationMatrix<Dimension>;
232230
using SpatialRotationMatrix = typename SteerableMatrix::SpatialRotationMatrixType;
233231

0 commit comments

Comments
 (0)