Skip to content

Commit

Permalink
COMP: Fix Nonunit/Review/test error: ContinuousIndexType is not a member
Browse files Browse the repository at this point in the history
Fixed compile errors saying:

> error C2039: 'ContinuousIndexType': is not a member of 'itk::ContinuousIndex'

These compile errors were introduced by pull request #4000
commit 7cda5ba
"COMP: Fix TransformPhysicalPointToContinuousIndex `nodiscard` warnings"
  • Loading branch information
N-Dekker authored and hjmjohnson committed Apr 7, 2023
1 parent 7cda5ba commit fd2b6d6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -157,7 +157,7 @@ itkDiscreteGradientMagnitudeGaussianImageFunctionTestND(int argc, char * argv[])
else
{
using ContinuousIndexType = typename DiscreteGradientMagnitudeGaussianFunctionType::ContinuousIndexType;
using ContinuousValueIndexType = typename ContinuousIndexType::ContinuousIndexType;
using ContinuousValueIndexType = typename ContinuousIndexType::ValueType;

inputImage->TransformIndexToPhysicalPoint(it.GetIndex(), point);
const ContinuousIndexType cindex =
Expand Down

0 comments on commit fd2b6d6

Please sign in to comment.