While inverting a matrix with boost::ublas
I sometimes get this error in the log:
Check failed in file /usr/include/boost/numeric/ublas/lu.hpp at line 298: detail::expression_type_check (prod (triangular_adaptor (m), e), cm2)
I am aware this is generally useful information, but not in my case. Is there any way to suppress that message (somehow configuring boost, or using a compiler flag)? BOOST_UBLAS_NDEBUG
doesn't cut it.
Looking at that header reveals:
It's even documented: