[Insight-users] bug in itkNumericTraitsVectorPixel.h

Karthik Krishnan Karthik.Krishnan at kitware.com
Mon May 22 14:59:07 EDT 2006


Fixed in CVS.

/cvsroot/Insight/Insight/Code/Common/itkNumericTraitsVectorPixel.h,v  
<--  itkNumericTraitsVectorPixel.h
new revision: 1.7; previous revision: 1.6

I think I replicated the code from "int" using a perl script. Sorry.

Thanks
-karthik

Marius Staring wrote:

> Hi,
>
> I want to report a bug in itkNumericTraitsVectorPixel.h
>
> For vectors with unsigned long type, the PrintType is not defined. 
> Instead there is a line:
>
>    typedef Vector<unsigned long, 2> PrlongType;
>
> which I think should be
>
>    typedef Vector<unsigned long, 2> PrintType;
>
> This is the case for all vector dimensions.
>
> A program using the VectorResampleImageFilter as in:
>
> typedef itk::Vector< unsigned long, 3 >  VectorType;
> typedef itk::Image< VectorType, 2 >      ImageType;
> typedef typename itk::VectorResampleImageFilter< ImageType, ImageType 
> >          ResamplerType;
>
> will therefore not compile.
>
> Regards,
>


More information about the Insight-users mailing list