diff options
author | Gael Guennebaud <g.gael@free.fr> | 2018-04-03 23:06:44 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2018-04-03 23:06:44 +0200 |
commit | a1292395d6feefa5d78ed9101c2c85648ba8eea9 (patch) | |
tree | f1be49c51f82cdfb825a4164f4f0f0ab719264c4 /Eigen/src/Core/Transpositions.h | |
parent | 8c7b5158a10af19bb98f2c2b5c57d44fd8899fe8 (diff) |
Fix compilation of product with inverse transpositions (e.g., mat * Transpositions().inverse())
Diffstat (limited to 'Eigen/src/Core/Transpositions.h')
-rw-r--r-- | Eigen/src/Core/Transpositions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/Transpositions.h b/Eigen/src/Core/Transpositions.h index 8798deca5..81a4a5855 100644 --- a/Eigen/src/Core/Transpositions.h +++ b/Eigen/src/Core/Transpositions.h @@ -384,7 +384,7 @@ class Transpose<TranspositionsBase<TranspositionsDerived> > const Product<OtherDerived, Transpose, AliasFreeProduct> operator*(const MatrixBase<OtherDerived>& matrix, const Transpose& trt) { - return Product<OtherDerived, Transpose, AliasFreeProduct>(matrix.derived(), trt.derived()); + return Product<OtherDerived, Transpose, AliasFreeProduct>(matrix.derived(), trt); } /** \returns the \a matrix with the inverse transpositions applied to the rows. |