Skip to content

Commit

Permalink
STYLE: Remove FixedImageType and TransformType from ComputeJacobianTerms
Browse files Browse the repository at this point in the history
The typedefs `FixedImageType` and `TransformType` are never used anymore. Internally, `ComputeJacobianTerms` directly uses its template parameters, `TFixedImage` and `TTransform`.

`ComputeJacobianTerms` is only being used by `elx::AdaptiveStochasticGradientDescent::AutomaticParameterEstimationOriginal()` anyway.
  • Loading branch information
N-Dekker committed Dec 4, 2024
1 parent bb8cbbe commit f2f1ca4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Common/itkComputeJacobianTerms.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ class ITK_TEMPLATE_EXPORT ComputeJacobianTerms : public Object
itkOverrideGetNameOfClassMacro(ComputeJacobianTerms);

/** typedef */
using FixedImageType = TFixedImage;
using TransformType = TTransform;
using TransformPointer = typename TTransform::Pointer;
using FixedImageRegionType = typename TFixedImage::RegionType;

Expand Down

0 comments on commit f2f1ca4

Please sign in to comment.