]> Creatis software - clitk.git/blobdiff - itk/clitkVectorBSplineDecompositionImageFilterWithOBD.txx
COMP: ITK v4.6
[clitk.git] / itk / clitkVectorBSplineDecompositionImageFilterWithOBD.txx
index c29c6ef888be4d9cbc6c5416754d93ab6ed03100..7bc316527ff3c360e840729ecc9cf88bd2c220d2 100644 (file)
@@ -291,8 +291,8 @@ VectorBSplineDecompositionImageFilterWithOBD<TInputImage, TOutputImage>
   InputIterator inIt( this->GetInput(), this->GetInput()->GetBufferedRegion() );
   OutputIterator outIt( this->GetOutput(), this->GetOutput()->GetBufferedRegion() );
 
-  inIt = inIt.Begin();
-  outIt = outIt.Begin();
+  inIt.GoToBegin();
+  outIt.GoToBegin();
   OutputPixelType v;
   while ( !outIt.IsAtEnd() ) {
     for (unsigned int i=0; i< VectorDimension; i++) {