[ITK] [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/community/attachments/20141024/40d3b15b/attachment-0002.html>
-------------- next part --------------
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list