]> Creatis software - clitk.git/blobdiff - tools/clitkImageArithmGenericFilter.txx
Remove compilation warnings
[clitk.git] / tools / clitkImageArithmGenericFilter.txx
index da3d87838b705e58b7255226f9b50a800dff2cd5..ba1fc6f6eaa672aceb28d5186d7d708037544ca4 100644 (file)
@@ -109,7 +109,7 @@ void ImageArithmGenericFilter<args_info_type>::UpdateWithInputImageType()
   IteratorType it(input1, input1->GetLargestPossibleRegion());
 
   // typedef input2
-  typename ImageType::Pointer input2 = NULL;
+  typename ImageType::Pointer input2 = ITK_NULLPTR;
   IteratorType it2;
 
   // Special case for normalisation
@@ -349,7 +349,7 @@ void clitk::ImageArithmGenericFilter<args_info_type>::ComputeImage(Iter1 it, Ite
       ++ito;
     }
     break;
-  case 7: // Log
+  case 7: // ln
     while (!it.IsAtEnd()) {
       if (it.Get() > 0)
         ito.Set(PixelTypeDownCast<double, PixelType>(log((double)it.Get())));