Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .JuliaFormatter.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
style = "sciml"
format_markdown = true
format_markdown = true
format_docstrings = true
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
2 changes: 1 addition & 1 deletion docs/pages.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

pages = [
"Home" => "index.md",
"pois_rand.md",
"pois_rand.md"
]
4 changes: 2 additions & 2 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
8 changes: 4 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
# ------------------
Expand Down