Skip to content

Commit ff557aa

Browse files
huonwvks
andauthored
Fix typo
Co-Authored-By: vks <[email protected]>
1 parent 3acece4 commit ff557aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tanh.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pub fn tanh_raw(x: f32) -> f32 {
2222

2323
/// Compute a fast approximation of the hyperbolic tangent of `x`.
2424
///
25-
/// See `atanh_raw` for a faster version that may return incorrect results for
25+
/// See `tanh_raw` for a faster version that may return incorrect results for
2626
/// large `|x|` and `nan`.
2727
#[inline]
2828
pub fn tanh(x: f32) -> f32 {

0 commit comments

Comments
 (0)