mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
typo correction in mathFunction
This commit is contained in:
parent
8f1d547c92
commit
ea7113dd0c
@ -359,9 +359,9 @@ struct cast_impl
|
|||||||
// here, for once, we're plainly returning NewType: we don't want cast to do weird things.
|
// here, for once, we're plainly returning NewType: we don't want cast to do weird things.
|
||||||
|
|
||||||
template<typename OldType, typename NewType>
|
template<typename OldType, typename NewType>
|
||||||
|
EIGEN_DEVICE_FUNC
|
||||||
inline NewType cast(const OldType& x)
|
inline NewType cast(const OldType& x)
|
||||||
{
|
{
|
||||||
EIGEN_DEVICE_FUNC
|
|
||||||
return cast_impl<OldType, NewType>::run(x);
|
return cast_impl<OldType, NewType>::run(x);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user