mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
fix transposed matrix product bug
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
112ad8b846
commit
574bc8820d
@@ -1011,6 +1011,16 @@ struct ScalarBinaryOpTraits<void, void, BinaryOp> {
|
||||
typedef void ReturnType;
|
||||
};
|
||||
|
||||
template <typename Scalar>
|
||||
struct is_complex_helper {
|
||||
static constexpr bool value = NumTraits<Scalar>::IsComplex;
|
||||
};
|
||||
// NumTraits<void> is not defined by intent
|
||||
template <>
|
||||
struct is_complex_helper<void> {
|
||||
static constexpr bool value = false;
|
||||
};
|
||||
|
||||
// We require Lhs and Rhs to have "compatible" scalar types.
|
||||
// It is tempting to always allow mixing different types but remember that this is often impossible in the vectorized
|
||||
// paths. So allowing mixing different types gives very unexpected errors when enabling vectorization, when the user
|
||||
|
||||
Reference in New Issue
Block a user