Skip to content

Commit

Permalink
Merge pull request #46 from ArnoStrouwen/format
Browse files Browse the repository at this point in the history
reapply formatter
  • Loading branch information
ChrisRackauckas authored Feb 22, 2024
2 parents 7daa393 + b0b1c0e commit 77075af
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
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

0 comments on commit 77075af

Please sign in to comment.