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.


On Wed, Oct 31, 2012 at 4:47 PM, Matt McCormick <> wrote:

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

Powered by

Visit other Kitware open-source projects at

Kitware offers ITK Training Courses, for more information visit:

Please keep messages on-topic and check the ITK FAQ at:

Follow this link to subscribe/unsubscribe:

Unpaid intern in BillsBasement at noware dot com