mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-13 20:26:03 +08:00
fix mixing types in inner product
This commit is contained in:
parent
6d08301dcc
commit
0f3bcf853f
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user