Gael Guennebaud 296d24be4d bug #1381: fix sparse.diagonal() used as a rvalue.
The problem was that is "sparse" is not const, then sparse.diagonal() must have the
LValueBit flag meaning that sparse.diagonal().coeff(i) must returns a const reference,
const Scalar&. However, sparse::coeff() cannot returns a reference for a non-existing
zero coefficient. The trick is to return a reference to a local member of
evaluator<SparseMatrix>.
2017-01-25 17:39:01 +01:00
..
2016-01-27 22:48:40 +01:00
LU
2016-07-25 18:20:08 +02:00
QR
2016-07-25 18:20:08 +02:00
2015-10-30 12:02:52 +01:00
2016-01-27 22:48:40 +01:00
2016-01-27 22:48:40 +01:00