-
-
Notifications
You must be signed in to change notification settings - Fork 664
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STYLE: itkTimeVaryingBSplineVelocityFieldImageRegistrationMethod.hxx #2722
Conversation
Removed useless operation: The body of the if condition only generated in-scope local objects which get removed when out of scope.
The body of the if condition has a side-effect: indirectly updating |
The only call is movingDisplacementFieldTransform->GetDisplacementField(). |
That by itself will not do much, but |
You need to update the commit to add a |
@ntustison any thoughts on functionality and purpose of the code proposed for removal? |
Hey @thewtex, sorry I missed this. Currently in London for the marathon but I'll take a look when I get back. |
@ntustison thanks! Have a great race!! 🏃♂️ 👟 🥇 |
Sorry for the delay. Yeah, I don't know the reason for the code in question. All I can think of is that it was not removed when I integrated the point-set functionality. Thanks for looking at this. |
Removed useless operation: The body of the if condition only generated in-scope local objects which get removed when out of scope.
PR Checklist
Refer to the ITK Software Guide for
further development details if necessary.