Skip to content

Commit 19e02a4

Browse files
dzenanzthewtex
authored andcommitted
COMP: Use proper floating point-pixel type in Frequency FFT Layout Test
Addressing a warning produced by Visual Studio 2022: M:\Dashboard\ITK\Modules\Core\Common\include\itkImage.hxx(147,1): message : while compiling class template member function 'unsigned int itk::Image<std::complex<FloatPixelType>,3>::GetNumberOfComponentsPerPixel(void) const' [M:\Dashboard\ITK-build\Modules\Filtering\ImageFrequency\test\ITKImageFrequencyTestDriver.vcxproj] M:\Dashboard\ITK\Modules\Filtering\ImageFrequency\test\itkFrequencyFFTLayoutImageRegionIteratorWithIndexTest.cxx(31,1): message : see reference to class template instantiation 'itk::Image<std::complex<FloatPixelType>,3>' being compiled [M:\Dashboard\ITK-build\Modules\Filtering\ImageFrequency\test\ITKImageFrequencyTestDriver.vcxproj] M:\Dashboard\ITK\Modules\Filtering\ImageFrequency\test\itkFrequencyFFTLayoutImageRegionIteratorWithIndexTest.cxx(273,21): message : see reference to class template instantiation 'itkFrequencyFFTLayoutImageRegionIteratorWithIndexTester<itk::Image<std::complex<FloatPixelType>,3>>' being compiled [M:\Dashboard\ITK-build\Modules\Filtering\ImageFrequency\test\ITKImageFrequencyTestDriver.vcxproj]
1 parent 58c0496 commit 19e02a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/Filtering/ImageFrequency/test/itkFrequencyFFTLayoutImageRegionIteratorWithIndexTest.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ itkFrequencyFFTLayoutImageRegionIteratorWithIndexTest(int, char *[])
263263
constexpr unsigned int Dimension = 3;
264264

265265
using CharPixelType = char;
266-
using FloatPixelType = char;
266+
using FloatPixelType = float;
267267

268268
// Even input image size test
269269
{

0 commit comments

Comments
 (0)