X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=registration%2FclitkMatrixTransformToVFGenericFilter.txx;h=8bc8877cf9757239091cf126382cdfcc2a99397a;hb=HEAD;hp=8a36a882b91017a7c4d1e69cc1f34cd73cdcedd7;hpb=c45f077f35553cdc72396626ac601080093d273b;p=clitk.git diff --git a/registration/clitkMatrixTransformToVFGenericFilter.txx b/registration/clitkMatrixTransformToVFGenericFilter.txx index 8a36a88..8bc8877 100644 --- a/registration/clitkMatrixTransformToVFGenericFilter.txx +++ b/registration/clitkMatrixTransformToVFGenericFilter.txx @@ -78,12 +78,10 @@ namespace clitk typedef itk::Image OutputImageType; // Filter -#if ITK_VERSION_MAJOR >= 4 -# if ITK_VERSION_MINOR < 6 +#if (ITK_VERSION_MAJOR == 4) && (ITK_VERSION_MINOR < 6) typedef itk::TransformToDisplacementFieldSource ConvertorType; -# else +#else typedef itk::TransformToDisplacementFieldFilter ConvertorType; -# endif #endif typename ConvertorType::Pointer filter= ConvertorType::New();