Skip to content

Commit

Permalink
Merge pull request #168 from SciML/ChrisRackauckas-patch-1
Browse files Browse the repository at this point in the history
Fix documentation builds
  • Loading branch information
ChrisRackauckas authored Aug 2, 2023
2 parents 0fa5c9c + 608fa56 commit 8660ddc
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 8660ddc

Please sign in to comment.