mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-15 07:10:37 +08:00
Add default template parameters for the second scalar type of binary functors.
This enhences backward compatibility.
This commit is contained in:
parent
2ca2ffb65e
commit
7a9ef7bbb4
@ -176,11 +176,11 @@ namespace internal {
|
||||
// with optional conjugation of the arguments.
|
||||
template<typename LhsScalar, typename RhsScalar, bool ConjLhs=false, bool ConjRhs=false> struct conj_helper;
|
||||
|
||||
template<typename LhsScalar,typename RhsScalar> struct scalar_sum_op;
|
||||
template<typename LhsScalar,typename RhsScalar> struct scalar_difference_op;
|
||||
template<typename LhsScalar,typename RhsScalar> struct scalar_conj_product_op;
|
||||
template<typename LhsScalar,typename RhsScalar> struct scalar_min_op;
|
||||
template<typename LhsScalar,typename RhsScalar> struct scalar_max_op;
|
||||
template<typename LhsScalar,typename RhsScalar=LhsScalar> struct scalar_sum_op;
|
||||
template<typename LhsScalar,typename RhsScalar=LhsScalar> struct scalar_difference_op;
|
||||
template<typename LhsScalar,typename RhsScalar=LhsScalar> struct scalar_conj_product_op;
|
||||
template<typename LhsScalar,typename RhsScalar=LhsScalar> struct scalar_min_op;
|
||||
template<typename LhsScalar,typename RhsScalar=LhsScalar> struct scalar_max_op;
|
||||
template<typename Scalar> struct scalar_opposite_op;
|
||||
template<typename Scalar> struct scalar_conjugate_op;
|
||||
template<typename Scalar> struct scalar_real_op;
|
||||
|
Loading…
Reference in New Issue
Block a user