Skip to content

Commit b0ae0b1

Browse files
oscardssmithnsajko
andauthored
Update src/basicfuns.jl
Co-authored-by: Neven Sajko <4944410+nsajko@users.noreply.github.com>
1 parent eb7c5f4 commit b0ae0b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/basicfuns.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ end
233233

234234
function logabstanh(x::Float32)
235235
a = abs(x)
236-
if abs_x < 0.0625f0
236+
if a < 0.0625f0
237237
return log(a) - (1/3f0) * a^2
238238
end
239239
return log1p(-2/(exp(2*a)+1))

0 commit comments

Comments
 (0)