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-12-02 14:13:01 -08:00
2016-05-18 14:03:03 +02:00
2016-09-21 21:53:00 +02:00
2014-01-24 12:51:33 +01:00
2013-08-12 07:39:24 +02:00
2016-09-17 14:14:01 +02:00
2016-07-06 11:05:30 +02:00
2016-06-03 08:12:14 +02:00
2015-10-23 10:36:33 +02:00
2016-08-31 13:04:29 +02:00
2015-10-28 11:42:14 +01:00
2015-11-16 13:33:54 +01:00
2016-05-19 22:48:16 +02:00
2015-08-04 16:12:16 +02:00
2015-10-23 10:36:33 +02:00
2016-01-30 22:26:17 +01:00
2016-07-12 17:19:26 +02:00
2016-09-21 17:08:51 +02:00
2016-04-13 22:18:02 +02:00
2016-07-06 22:25:24 +02:00