Skip to content

Commit 730d6a4

Browse files
committed
lp -> logjoint
1 parent e5dc467 commit 730d6a4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

developers/inference/abstractmcmc-interface/index.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,4 +320,4 @@ It looks like we're extremely close to our true parameters of `Normal(5,3)`, tho
320320

321321
## Conclusion
322322

323-
We've seen how to implement the sampling interface for general projects. Turing's interface methods are ever-evolving, so please open an issue at [AbstractMCMC](https://github.com/TuringLang/AbstractMCMC.jl) with feature requests or problems.
323+
We've seen how to implement the sampling interface for general projects. Turing's interface methods are ever-evolving, so please open an issue at [AbstractMCMC](https://github.com/TuringLang/AbstractMCMC.jl) with feature requests or problems.

usage/sampler-visualisation/index.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function plot_sampler(chain; label="")
5757
val = get(chain, [:s², :m, :lp])
5858
ss = link.(Ref(InverseGamma(2, 3)), val.s²)
5959
ms = val.m
60-
lps = val.lp
60+
lps = val.logjoint
6161
6262
# How many surface points to sample.
6363
granularity = 100
@@ -196,4 +196,4 @@ Next, we plot using 50 particles.
196196
```{julia}
197197
c = sample(model, PG(50), 1000)
198198
plot_sampler(c)
199-
```
199+
```

0 commit comments

Comments
 (0)