From 413cf925a4e665aacd68d0a3eb9328818ac3abde Mon Sep 17 00:00:00 2001 From: srit Date: Sat, 26 Mar 2011 22:57:22 +0000 Subject: [PATCH] Errors in previous commit --- .../clitkDemonsDeformableRegistrationGenericFilter.txx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/registration/clitkDemonsDeformableRegistrationGenericFilter.txx b/registration/clitkDemonsDeformableRegistrationGenericFilter.txx index fb4ad19..887676e 100755 --- a/registration/clitkDemonsDeformableRegistrationGenericFilter.txx +++ b/registration/clitkDemonsDeformableRegistrationGenericFilter.txx @@ -358,7 +358,7 @@ namespace clitk else nIterations[i]=m_ArgsInfo.maxIter_arg[0]; } - multiResolutionFilter->SetNumberOfIterations( &(nIterations) ); + multiResolutionFilter->SetNumberOfIterations( &(nIterations[0]) ); if(m_Verbose) { std::cout<<"Setting the number of iterations to: "< maxRMSError[nLevels]; + itk::Array maxRMSError(nLevels); for (unsigned int i=0 ; i