Skip to content

Commit 2168a86

Browse files
committed
Remove trailing whitespace
1 parent b3778ff commit 2168a86

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

ext/DynamicPPLMCMCChainsExt.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,18 @@ end
4848
Sample from the posterior predictive distribution by executing `model` with parameters fixed to each sample
4949
in `chain`, and return the resulting `Chains`.
5050
51-
The `model` passed to `predict` is often different from the one used to generate `chain`.
52-
Typically, the model from which `chain` originated treats certain variables as observed (i.e.,
53-
data points), while the model you pass to `predict` may mark these same variables as missing
54-
or unobserved. Calling `predict` then leverages the previously inferred parameter values to
51+
The `model` passed to `predict` is often different from the one used to generate `chain`.
52+
Typically, the model from which `chain` originated treats certain variables as observed (i.e.,
53+
data points), while the model you pass to `predict` may mark these same variables as missing
54+
or unobserved. Calling `predict` then leverages the previously inferred parameter values to
5555
simulate what new, unobserved data might look like, given your posterior beliefs.
5656
5757
For each parameter configuration in `chain`:
5858
1. All random variables present in `chain` are fixed to their sampled values.
5959
2. Any variables not included in `chain` are sampled from their prior distributions.
6060
6161
If `include_all` is `false`, the returned `Chains` will contain only those variables that were not fixed by
62-
the samples in `chain`. This is useful when you want to sample only new variables from the posterior
62+
the samples in `chain`. This is useful when you want to sample only new variables from the posterior
6363
predictive distribution.
6464
6565
# Examples

src/logdensityfunction.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ end
175175
Evaluate the log density of the given `model` at the given parameter values `x`,
176176
using the given `varinfo` and `context`. Note that the `varinfo` argument is provided
177177
only for its structure, in the sense that the parameters from the vector `x` are inserted into
178-
it, and its own parameters are discarded.
178+
it, and its own parameters are discarded.
179179
"""
180180
function logdensity_at(
181181
x::AbstractVector, model::Model, varinfo::AbstractVarInfo, context::AbstractContext

0 commit comments

Comments
 (0)