X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=itk%2FclitkComposeVFFilter.txx;h=e42c8520e66392f5619162be817b2f6b32b5f03e;hb=ef03fc34db849c864b1ae7f50c8442e125834f84;hp=7103a1025c40f95828e477823d8c2f2c0fc9554b;hpb=d0bf1f6de5086e58c5bbefcee178609763790f61;p=clitk.git diff --git a/itk/clitkComposeVFFilter.txx b/itk/clitkComposeVFFilter.txx index 7103a10..e42c852 100644 --- a/itk/clitkComposeVFFilter.txx +++ b/itk/clitkComposeVFFilter.txx @@ -36,7 +36,7 @@ namespace clitk //========================================================================================================================= //update the output for the outputRegionForThread template - void ComposeVFFilter::ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, int threadId ) + void ComposeVFFilter::ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId ) { //Get pointer to the output @@ -98,7 +98,7 @@ namespace clitk { // The following block is equivalent to the following line without // having to call floor. (Only for positive inputs, we already now that is in the image) - // baseIndex[dim] = (long) vcl_floor(contIndex[dim] ); + // baseIndex[dim] = (long) std::floor(contIndex[dim] ); baseIndex[dim] = (long) contIndex[dim]; distance[dim] = contIndex[dim] - double( baseIndex[dim] );