| commit | f7329619da8d493fecc30e2a5d44bc3a672741a3 | [log] [tgz] |
|---|---|---|
| author | Benoit Steiner <benoit.steiner.goog@gmail.com> | Thu Mar 17 15:08:02 2016 -0700 |
| committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | Thu Mar 17 15:08:02 2016 -0700 |
| tree | f32283b04dba21d50a724de18b160fb46cccc804 | |
| parent | 46aa9772fcb92f6be5e90a37f4e585e670220348 [diff] |
Fix bug in tensor contraction. The code assumes that contraction axis indices for the LHS (after possibly swapping to ColMajor!) is increasing. Explicitly sort the contraction axis pairs to make it so.
Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.
For more information go to http://eigen.tuxfamily.org/.