typo correction in mathFunction

This commit is contained in:
Emilie Guy 2015-07-06 14:31:08 +02:00
parent 8f1d547c92
commit ea7113dd0c

View File

@ -359,9 +359,9 @@ struct cast_impl
// here, for once, we're plainly returning NewType: we don't want cast to do weird things.
template<typename OldType, typename NewType>
EIGEN_DEVICE_FUNC
inline NewType cast(const OldType& x)
{
EIGEN_DEVICE_FUNC
return cast_impl<OldType, NewType>::run(x);
}