[Insight-users] Bug in itkImage

Koen Van Leemput koen . vanleemput at hus . fi
Wed, 14 Aug 2002 15:21:41 +0300


In itk::Image::TransformPhysicalPointToContinuousIndex(), the following=20
static_cast is wrong:

index[i] =3D static_cast<long>(inputPoint[i]);

I think this should be

index[i] =3D static_cast<TCoordRep>(inputPoint[i]);

Cheers,

Koen

--=20
*************************************************************************=
****=20
Koen Van Leemput, Ph.D.                email : koen.vanleemput@hus.fi=20
Department of Radiology                  phone: +358 9 471 71331       =20
Helsinki University Central Hospital   mobile: +358 9 471 62300       =20
P.O. Box 340                                  fax:      +358 9 471 71342 =
      =20
FIN-00029 HUS                                                            =
              =20
FINLAND                                                                  =
                 =20
*************************************************************************=
****=20