mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 20:56:00 +08:00
Fix warning
This commit is contained in:
parent
e074f720c7
commit
68e803a26e
@ -23,7 +23,7 @@ namespace internal {
|
|||||||
This implementation works on both scalars and packets.
|
This implementation works on both scalars and packets.
|
||||||
*/
|
*/
|
||||||
template<typename T>
|
template<typename T>
|
||||||
EIGEN_DONT_INLINE T generic_fast_tanh_float(const T& a_x)
|
T generic_fast_tanh_float(const T& a_x)
|
||||||
{
|
{
|
||||||
// Clamp the inputs to the range [-9, 9] since anything outside
|
// Clamp the inputs to the range [-9, 9] since anything outside
|
||||||
// this range is +/-1.0f in single-precision.
|
// this range is +/-1.0f in single-precision.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user