diff --git a/.JuliaFormatter.toml b/.JuliaFormatter.toml index 9c79359..959ad88 100644 --- a/.JuliaFormatter.toml +++ b/.JuliaFormatter.toml @@ -1,2 +1,3 @@ style = "sciml" -format_markdown = true \ No newline at end of file +format_markdown = true +format_docstrings = true \ No newline at end of file diff --git a/README.md b/README.md index b2b4150..fceec25 100644 --- a/README.md +++ b/README.md @@ -39,8 +39,8 @@ See [this blog post for details](https://www.johndcook.com/blog/2010/06/14/gener ```julia using RandomNumbers, - Distributions, BenchmarkTools, StaticArrays, - RecursiveArrayTools, Plots, PoissonRandom + Distributions, BenchmarkTools, StaticArrays, + RecursiveArrayTools, Plots, PoissonRandom labels = ["count_rand", "ad_rand", "pois_rand", "Distributions.jl"] rng = Xorshifts.Xoroshiro128Plus() diff --git a/docs/pages.jl b/docs/pages.jl index 9a91b48..64b6b06 100644 --- a/docs/pages.jl +++ b/docs/pages.jl @@ -2,5 +2,5 @@ pages = [ "Home" => "index.md", - "pois_rand.md", + "pois_rand.md" ] diff --git a/docs/src/index.md b/docs/src/index.md index 3bc8d98..d177de0 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -33,8 +33,8 @@ See [this blog post for details](https://www.johndcook.com/blog/2010/06/14/gener ```julia using RandomNumbers, - Distributions, BenchmarkTools, StaticArrays, - RecursiveArrayTools, Plots, PoissonRandom + Distributions, BenchmarkTools, StaticArrays, + RecursiveArrayTools, Plots, PoissonRandom labels = ["count_rand", "ad_rand", "pois_rand", "Distributions.jl"] rng = Xorshifts.Xoroshiro128Plus() diff --git a/test/runtests.jl b/test/runtests.jl index 8d511d6..a172671 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -7,10 +7,10 @@ include("qa.jl") n_tsamples = 10^5 function test_samples(rand_func, - distr::Distributions.DiscreteUnivariateDistribution, - n::Int; # number of samples to generate - q::Float64 = 1.0e-8, # confidence interval, 1 - q as confidence - verbose::Bool = false) # show intermediate info (for debugging) + distr::Distributions.DiscreteUnivariateDistribution, + n::Int; # number of samples to generate + q::Float64 = 1.0e-8, # confidence interval, 1 - q as confidence + verbose::Bool = false) # show intermediate info (for debugging) # The basic idea # ------------------