EIGEN_INITIALIZE_MATRICES_BY_NAN

Issue #184 resolved
Frank Dellaert created an issue

On http://www.alecjacobson.com/weblog/?p=3140 I read:

I always set the preprocessor symbol EIGEN_INITIALIZE_MATRICES_BY_NAN 
in the debug version of my code. That way uninitialised matrices seldom go unnoticed.

Can we do that, too ? Might make detecting errors much faster.

Comments (4)

  1. Chris Beall

    Great idea! Unfortunately you'll have to clear your CMake cache to get this in your Debug configuration.

  2. Log in to comment