Skip to content

Commit

Permalink
COMP: Fix itk::ContourSpatialObject ivar initialization value type
Browse files Browse the repository at this point in the history
Fix `itk::ContourSpatialObject` ivar initialization value type: avoid
unnecessary casting from `float`/`double` to `unsigned int`.
  • Loading branch information
jhlegarreta authored and dzenanz committed Sep 10, 2020
1 parent fe5d227 commit 47617c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ ContourSpatialObject<TDimension>::Clear()
m_ControlPoints.clear();

m_InterpolationMethod = InterpolationMethodEnum::NO_INTERPOLATION;
m_InterpolationFactor = 2.0;
m_InterpolationFactor = 2;

m_IsClosed = false;

Expand Down

0 comments on commit 47617c2

Please sign in to comment.