[eigen] Index bounds checking assertion

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]

Presently, in the DenseCoeffsBase.h, file, line 305, we have the
runtime assertion, row >= 0 && row < rows() && col >= 0 && col <

It will be better to split it into 4 assertions so that when the
assertion fails, we get a more pointed message. Otherwise, the user
needs  to do some debugging, (printf or otherwise), just to figure out
which index malfunctioned and from what side.

Rohit Garg


Senior Undergraduate
Department of Physics
Indian Institute of Technology

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