Skip to content

Commit

Permalink
Fix documentation builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Aug 1, 2023
1 parent 0fa5c9c commit 608fa56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/showcase/bayesian_neural_ode.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ We sample using 500 warmup samples and 500 posterior samples.

```@example bnode
integrator = Leapfrog(find_good_stepsize(h, p))
prop = AdvancedHMC.NUTS{MultinomialTS, GeneralisedNoUTurn}(integrator)
kernel = HMCKernel(Trajectory{MultinomialTS}(integrator, GeneralisedNoUTurn()))
adaptor = StanHMCAdaptor(MassMatrixAdaptor(metric), StepSizeAdaptor(0.45, integrator))
samples, stats = sample(h, prop, p, 500, adaptor, 500; progress = true)
samples, stats = sample(h, kernel, p, 500, adaptor, 500; progress = true)
```

## Step 5: Plot diagnostics
Expand Down

0 comments on commit 608fa56

Please sign in to comment.