mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
fix mixing types in inner product
This commit is contained in:
@@ -163,7 +163,7 @@ struct ProductReturnType<Lhs,Rhs,LazyCoeffBasedProductMode>
|
|||||||
|
|
||||||
template<typename Lhs, typename Rhs>
|
template<typename Lhs, typename Rhs>
|
||||||
struct ei_traits<GeneralProduct<Lhs,Rhs,InnerProduct> >
|
struct ei_traits<GeneralProduct<Lhs,Rhs,InnerProduct> >
|
||||||
: ei_traits<Matrix<typename Lhs::Scalar,1,1> >
|
: ei_traits<Matrix<typename ei_scalar_product_traits<typename Lhs::Scalar, typename Rhs::Scalar>::ReturnType,1,1> >
|
||||||
{};
|
{};
|
||||||
|
|
||||||
template<typename Lhs, typename Rhs>
|
template<typename Lhs, typename Rhs>
|
||||||
|
|||||||
Reference in New Issue
Block a user