|
Boost : |
From: John Maddock (john_at_[hidden])
Date: 2007-11-26 04:51:47
Giovanni Piero Deretta wrote:
> Amen to that! We are using using ublas in some important production
> code and
> we have to compile the entire application with NDEBUG, even if we (and
> external libraries) have important assert code that we would like to
> keep even on a running system. Unfortunately the sparse vector
> functionality in ublas in 1.32 doesn't even compile with NDEBUG not
> defined (and even if it did it would have abissimal performance).
Indeed, you might want to incorporate this changeset:
http://svn.boost.org/trac/boost/changeset?new=trunk%2Fboost%2Fboost%2Fnumeric%2Fublas%2Fdetail%2Fconfig.hpp%4037392&old=trunk%2Fboost%2Fboost%2Fnumeric%2Fublas%2Fdetail%2Fconfig.hpp%4037027
in your uBlas version so you can use BOOST_UBLAS_NDEBUG rather than NDEBUG.
HTH, John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk