[Insight-users] Bug in itkImage

Luis Ibanez luis . ibanez at kitware . com
Wed, 14 Aug 2002 14:07:47 -0400


Hi Koen,

You are right, the type should be "TCoordRep".
We just fixed it according to your comment.

Thanks for pointing this out,

   Luis

================================

Koen Van Leemput wrote:
> In itk::Image::TransformPhysicalPointToContinuousIndex(), the following 
> static_cast is wrong:
> 
> index[i] = static_cast<long>(inputPoint[i]);
> 
> I think this should be
> 
> index[i] = static_cast<TCoordRep>(inputPoint[i]);
> 
> Cheers,
> 
> Koen
> 
>