aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/CwiseBinaryOp.h
diff options
context:
space:
mode:
authorGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-01-12 10:07:06 +0100
committerGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-01-12 10:07:06 +0100
commita8ea2c8cef3428d154b6ef315874c347e50bef08 (patch)
tree5e9f78e78885d345e7a1e0d26a8612b175290e31 /Eigen/src/Core/CwiseBinaryOp.h
parentcaa9ced8539a827c415ce3ea0362183d4dcdebc7 (diff)
Fixes #81.
Diffstat (limited to 'Eigen/src/Core/CwiseBinaryOp.h')
-rw-r--r--Eigen/src/Core/CwiseBinaryOp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Eigen/src/Core/CwiseBinaryOp.h b/Eigen/src/Core/CwiseBinaryOp.h
index 4d7ab6598..990c553dd 100644
--- a/Eigen/src/Core/CwiseBinaryOp.h
+++ b/Eigen/src/Core/CwiseBinaryOp.h
@@ -97,10 +97,10 @@ class CwiseBinaryOp : ei_no_assignment_operator,
typename ei_traits<Rhs>::StorageType>::ret>::Base Base;
EIGEN_GENERIC_PUBLIC_INTERFACE_NEW(CwiseBinaryOp)
- typedef typename ei_traits<CwiseBinaryOp>::LhsNested LhsNested;
- typedef typename ei_traits<CwiseBinaryOp>::RhsNested RhsNested;
- typedef typename ei_traits<CwiseBinaryOp>::_LhsNested _LhsNested;
- typedef typename ei_traits<CwiseBinaryOp>::_RhsNested _RhsNested;
+ typedef typename ei_nested<Lhs>::type LhsNested;
+ typedef typename ei_nested<Rhs>::type RhsNested;
+ typedef typename ei_unref<LhsNested>::type _LhsNested;
+ typedef typename ei_unref<RhsNested>::type _RhsNested;
EIGEN_STRONG_INLINE CwiseBinaryOp(const Lhs& lhs, const Rhs& rhs, const BinaryOp& func = BinaryOp())
: m_lhs(lhs), m_rhs(rhs), m_functor(func)