diff options
author | Gael Guennebaud <g.gael@free.fr> | 2015-06-19 14:10:44 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2015-06-19 14:10:44 +0200 |
commit | 4a8888dfbc8feee9cb2479eb708b95e16a184e7e (patch) | |
tree | 970a9e0b40b12ad8bcdfee3a0a7f610d09046658 /Eigen/src/Core/Product.h | |
parent | 3af4c6c1c9327411d13386e4719ce48f866c7567 (diff) |
Improbe compatibility of Transpositions and evaluators
Diffstat (limited to 'Eigen/src/Core/Product.h')
-rw-r--r-- | Eigen/src/Core/Product.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Eigen/src/Core/Product.h b/Eigen/src/Core/Product.h index 7f0a9b589..0739528f1 100644 --- a/Eigen/src/Core/Product.h +++ b/Eigen/src/Core/Product.h @@ -53,6 +53,18 @@ template<typename Lhs, typename Rhs, typename LhsShape> typedef typename Lhs::Scalar Scalar; }; +template<typename Lhs, typename Rhs, typename RhsShape> +struct product_result_scalar<Lhs, Rhs, TranspositionsShape, RhsShape> +{ + typedef typename Rhs::Scalar Scalar; +}; + +template<typename Lhs, typename Rhs, typename LhsShape> + struct product_result_scalar<Lhs, Rhs, LhsShape, TranspositionsShape> +{ + typedef typename Lhs::Scalar Scalar; +}; + template<typename Lhs, typename Rhs, int Option> struct traits<Product<Lhs, Rhs, Option> > { |