mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-07 13:33:24 +08:00
fix scalar * prod in evaluators unit test
This commit is contained in:
parent
d357bbd9c0
commit
fef534f52e
@ -156,7 +156,8 @@ struct Assignment<DstXprType, CwiseUnaryOp<internal::scalar_multiple_op<ScalarBi
|
|||||||
const Product<Lhs,Rhs,DefaultProduct> > SrcXprType;
|
const Product<Lhs,Rhs,DefaultProduct> > SrcXprType;
|
||||||
static void run(DstXprType &dst, const SrcXprType &src, const AssignFunc& func)
|
static void run(DstXprType &dst, const SrcXprType &src, const AssignFunc& func)
|
||||||
{
|
{
|
||||||
call_assignment(dst.noalias(), (src.functor().m_other * src.nestedExpression().lhs()) * src.nestedExpression().rhs(), func);
|
// TODO use operator* instead of prod() once we have made enough progress
|
||||||
|
call_assignment(dst.noalias(), prod(src.functor().m_other * src.nestedExpression().lhs(), src.nestedExpression().rhs()), func);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ namespace internal {
|
|||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
* This file implements a general A * B product while
|
* This file implements a general A * B product while
|
||||||
* evaluating only one triangular part of the product.
|
* evaluating only one triangular part of the product.
|
||||||
* This is more general version of self adjoint product (C += A A^T)
|
* This is a more general version of self adjoint product (C += A A^T)
|
||||||
* as the level 3 SYRK Blas routine.
|
* as the level 3 SYRK Blas routine.
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user