Skip to content

Commit ba34461

Browse files
committed
Fix docstrings
1 parent a7b3009 commit ba34461

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/logdensityfunction.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ A struct which contains a model, along with all the information necessary to:
2828
- and if `adtype` is provided, calculate the gradient of the log density at
2929
that point.
3030
31-
At its most basic level, a LogDensityFunction wraps the model together with its
32-
the type of varinfo to be used. These must be known in order to calculate the
33-
log density (using [`DynamicPPL.evaluate!!`](@ref)).
31+
At its most basic level, a LogDensityFunction wraps the model together with the
32+
type of varinfo to be used. These must be known in order to calculate the log
33+
density (using [`DynamicPPL.evaluate!!`](@ref)).
3434
3535
If the `adtype` keyword argument is provided, then this struct will also store
3636
the adtype along with other information for efficient calculation of the
@@ -139,7 +139,7 @@ end
139139
adtype::Union{Nothing,ADTypes.AbstractADType}
140140
)
141141
142-
Create a new LogDensityFunction using the model, and varinfo from the given
142+
Create a new LogDensityFunction using the model and varinfo from the given
143143
`ldf` argument, but with the AD type set to `adtype`. To remove the AD type,
144144
pass `nothing` as the second argument.
145145
"""

0 commit comments

Comments
 (0)