[Insight-developers] Wrong type in ConnectedRegionsMeshFilter.h

Bill Lorensen bill.lorensen at gmail.com
Thu Jan 6 08:46:26 EST 2011


Guys,

In Algorithms/ConnectedRegionsMeshFilter.h

std::vector< long >           m_Visited;
was changed to
std::vector< IdentifierType >  m_Visited;

This causes the warnings like these:
itkConnectedRegionsMeshFilter.txx:200: warning: comparison of unsigned
expression < 0 is always false
itkConnectedRegionsMeshFilter.txx:320: warning: comparison of unsigned
expression >= 0 is always true

Bill


More information about the Insight-developers mailing list