Skip to content

Commit 6b91946

Browse files
committed
Use latex builtin exp
1 parent c2c6ce8 commit 6b91946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data/datasets_synthetic.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ const SIGMOID_32 = log(Float32(1)/eps(Float32) - Float32(1))
334334
sigmoid(x)
335335
336336
Return the sigmoid computed in a numerically stable way:
337-
``σ(x) = 1/(1+exp(-x))``
337+
``σ(x) = 1/(1+\\exp(-x))``
338338
339339
"""
340340
function sigmoid(x::Float64)

0 commit comments

Comments
 (0)