Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: Quick-fix ContourSpatialObject::Update(), LINEAR_INTERPOLATION case
`ContourSpatialObject::Update()` appears to have an assignment to `newPoint`, in the `case InterpolationMethodEnum::LINEAR_INTERPOLATION` section, which was meant to assign just a single element `newPoint[d]`. As was confirmed by Stephen Aylward at issue InsightSoftwareConsortium#3222, "`ContourSpatialObject<TDimension>::Update()` LINEAR_INTERPOLATION case may need some adjustment". Some more adjustment may still be needed, as `newPoint` now still gets modified multiply times (rather than just once), before it eventually gets used.
- Loading branch information