Skip to content

Commit e663fe4

Browse files
jishnubdevmotion
andauthored
Fix whitespace in logit docstring (#51)
* Fix whitespace in logit docstring Minor adjustment to spaces in the docstring of `logit` * Reformulate docstring Co-authored-by: David Widmann <[email protected]>
1 parent da7c9c5 commit e663fe4

File tree

3 files changed

+4
-205
lines changed

3 files changed

+4
-205
lines changed

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
*.jl.cov
22
*.jl.*.cov
33
*.jl.mem
4-
/Manifest.toml
4+
Manifest.toml
55
/deps/deps.jl
66
/docs/build
7-
/docs/Manifest.toml
8-
/test/coverage/Manifest.toml

docs/Manifest.toml

Lines changed: 0 additions & 199 deletions
This file was deleted.

src/basicfuns.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,11 @@ end
112112
"""
113113
$(SIGNATURES)
114114
115-
The [logit](https://en.wikipedia.org/wiki/Logit) or log-odds transformation,
116-
115+
The [logit](https://en.wikipedia.org/wiki/Logit) or log-odds transformation, defined as
117116
```math
118-
\\log\\left(\\frac{x}{1-x}\\right), \\text{where} 0 < x < 1
117+
\\operatorname{logit}(x) = \\log\\left(\\frac{x}{1-x}\\right)
119118
```
119+
for ``0 < x < 1``.
120120
121121
Its inverse is the [`logistic`](@ref) function.
122122
"""

0 commit comments

Comments
 (0)