diff --git a/Examples/CompositeTransformUtil.cxx b/Examples/CompositeTransformUtil.cxx index 6528d591b..3a4e6b811 100644 --- a/Examples/CompositeTransformUtil.cxx +++ b/Examples/CompositeTransformUtil.cxx @@ -70,7 +70,7 @@ Disassemble(itk::TransformBaseTemplate * transform, TransformPointer curXfrm = composite->GetNthTransform(i); auto * dispXfrm = dynamic_cast(curXfrm.GetPointer()); std::stringstream fname; - fname << std::setfill('0') << std::setw(2) << i << "_" << prefix << "_" << curXfrm->GetNameOfClass(); + fname << prefix << "_" << std::setfill('0') << std::setw(2) << i << "_" << curXfrm->GetNameOfClass(); if (dispXfrm != nullptr) { fname << ".nii.gz"; // if it's a displacement field transform