| commit | 884a718b0a2faad2e34cd916704cbc6c2a23550e | [log] [tgz] |
|---|---|---|
| author | Benoit Jacob <jacob.benoit.1@gmail.com> | Mon Oct 15 05:56:21 2007 +0000 |
| committer | Benoit Jacob <jacob.benoit.1@gmail.com> | Mon Oct 15 05:56:21 2007 +0000 |
| tree | ede4aca3c0ea94364932cfb740cbb7ceb2c2c928 | |
| parent | f355ef2df0f51fc80565285a907f48925a554505 [diff] |
make shameless use of const_cast to reduce code redundancy. This means Eigen2 gives up enforcing constness. I really tried to enforce it, but it really was much hassle because our expression templates can be lvalues (not only rvalues) and so much code had to be written twice.