Optimize sparse<bool> && sparse<bool> to use the same path as for coeff-wise products.

This commit is contained in:
Gael Guennebaud
2016-11-14 18:47:41 +01:00
parent 2e334f5da0
commit 0ee92aa38e
2 changed files with 87 additions and 21 deletions

View File

@@ -84,6 +84,7 @@ class CwiseBinaryOp :
{
public:
typedef typename internal::remove_all<BinaryOp>::type Functor;
typedef typename internal::remove_all<LhsType>::type Lhs;
typedef typename internal::remove_all<RhsType>::type Rhs;