[Insight-developers] API change of vnl_math to namespace

Bill Lorensen bill.lorensen at gmail.com
Wed Oct 31 16:57:39 EDT 2012


Matt,

If we need to make a pass through ITK to fix this, I recommend that we
replace vnl_math with std functions where ever possible.

We have had to deal with vnl api changes before, although not that often I
admit. std::'s interface is much less likely to change.

Bill

On Wed, Oct 31, 2012 at 4:47 PM, Matt McCormick
<matt.mccormick at kitware.com>wrote:

> Hi,
>
> Recently, changes were made in vnl_math.h so that vnl_math_abs is now
> vnl_math::abs, etc.
>
> This is causing pain in ITK :-(.
>
> What is the recommended way to deal with this change in a
> backwards-compatible way?  I could not find pre-processor version
> definitions in core/vnl/vnl_config.h or core/vxl_config.h
>
> Thanks,
> Matt
> _______________________________________________
> 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://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://www.itk.org/mailman/listinfo/insight-developers
>



-- 
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-developers/attachments/20121031/475c50aa/attachment.htm>


More information about the Insight-developers mailing list