[ITK-users] Shouldn't they be swapped?

Abdul Abdul abdul.sw84 at gmail.com
Fri Oct 24 05:11:02 EDT 2014


Hello,

I came across the following code:

PixelType maxValue = itk::NumericTraits<PixelType>::NonpositiveMin();
PixelType minValue = itk::NumericTraits<PixelType>::max();

Shouldn't the above statements be swapped? That is, minValue for the first,
and ,maxValue for the second?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20141024/40d3b15b/attachment.html>


More information about the Insight-users mailing list