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

(grafted from 0ee92aa38e
)
This commit is contained in:
Gael Guennebaud
2016-11-14 18:47:41 +01:00
parent 89abc6806d
commit 5aab97fba6
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;