mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-03-07 18:27:40 +08:00
fixed my mistake in cast
This commit is contained in:
parent
746079f75d
commit
428a12902a
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user