Skip to content

Commit

Permalink
Update userguide.md (#148)
Browse files Browse the repository at this point in the history
Typo: `rnd` should read `rng`, which is how it is referred to further down in the example
  • Loading branch information
ngiann authored Jun 19, 2024
1 parent d5ef8a9 commit 5a013fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/userguide.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
ApproximateGPs builds on top of [AbstractGPs.jl](https://juliagaussianprocesses.github.io/AbstractGPs.jl/dev/), so all of its features are reexported automatically by ApproximateGPs.
```julia
using ApproximateGPs, Random
rnd = MersenneTwister(1453) # set a random seed
rng = MersenneTwister(1453) # set a random seed
```

First, we construct a prior Gaussian process with a Matern-3/2 kernel and zero mean function, and sample some data. More exotic kernels can be constructed using [KernelFunctions.jl](https://juliagaussianprocesses.github.io/KernelFunctions.jl/stable/userguide/).
Expand Down

0 comments on commit 5a013fc

Please sign in to comment.