fixed my mistake in cast

This commit is contained in:
Gael Guennebaud 2009-04-29 17:05:19 +00:00
parent 746079f75d
commit 428a12902a
2 changed files with 2 additions and 2 deletions

View File

@ -190,7 +190,7 @@ template<typename Derived>
template<typename NewType>
EIGEN_STRONG_INLINE
typename ei_cast_return_type<
const Derived&,
Derived,
const CwiseUnaryOp<ei_scalar_cast_op<typename ei_traits<Derived>::Scalar, NewType>, Derived>
>::type
MatrixBase<Derived>::cast() const

View File

@ -505,7 +505,7 @@ template<typename Derived> class MatrixBase
template<typename NewType>
typename ei_cast_return_type<
const Derived&,
Derived,
const CwiseUnaryOp<ei_scalar_cast_op<typename ei_traits<Derived>::Scalar, NewType>, Derived>
>::type
cast() const;