From 5a013fc94274ae3b65f5a24e726c051838a9e79e Mon Sep 17 00:00:00 2001 From: Nikos Gianniotis Date: Wed, 19 Jun 2024 11:08:28 +0200 Subject: [PATCH] Update userguide.md (#148) Typo: `rnd` should read `rng`, which is how it is referred to further down in the example --- docs/src/userguide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/userguide.md b/docs/src/userguide.md index 1ca7e9db..043af179 100644 --- a/docs/src/userguide.md +++ b/docs/src/userguide.md @@ -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/).