Commit b074eb4c authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

ERR : change cast template

parent 42c98ae5
......@@ -191,7 +191,7 @@ private:
#ifdef ITK_USE_CENTERED_PIXEL_COORDINATES_CONSISTENTLY
if( itk::Math::RoundHalfIntegerUp<IndexValueType>(index[i]) < static_cast<IndexValueType>( region.GetIndex(i) ) + static_cast<IndexValueType>(m_NeighborhoodRadius) )
#else
if( index[i] < static_cast<TCoordRepType>( region.GetIndex(i) ) + m_NeighborhoodRadius )
if( index[i] < static_cast<IndexValueType>( region.GetIndex(i) ) + m_NeighborhoodRadius )
#endif
{
return false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment