[tng-devel] Eigen 2.0 vs. zero sized matrices

[ Thread Index | Date Index | More lists.tuxfamily.org/tng-devel Archives ]


You were right,

there is a explicit ei_assert() checking the dimension on Matrix creation in Eigen's source code. I wonder why this never appeared on Linux since no #define-s can turn the assert off.

Ways trick around:

(1) Move to Eigen's development version where this check has been removed.

(2) disable all asserts in Eigen: The options

   -DEIGEN_NO_DEBUG and -DNDEBUG

disable all asserts. The symbols must be defined byfore any Eigen header is included.

Regards
SW






Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/