diff options
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> > { |