aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Transpositions.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2018-04-03 23:06:44 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2018-04-03 23:06:44 +0200
commita1292395d6feefa5d78ed9101c2c85648ba8eea9 (patch)
treef1be49c51f82cdfb825a4164f4f0f0ab719264c4 /Eigen/src/Core/Transpositions.h
parent8c7b5158a10af19bb98f2c2b5c57d44fd8899fe8 (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.h2
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.