Skip to content

Commit

Permalink
excluding some doctests which would need a seed
Browse files Browse the repository at this point in the history
  • Loading branch information
nluetts committed Jan 10, 2024
1 parent 6c8470f commit 1d30b33
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bounds.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Create an `UncertainBound` from two distributions `left` and `right` defining un
Start point falls in the range [1, 2] with uniform probability, end point falls in the range [5, 6] with uniform probability:
```jldoctest UBexample
```julia
julia> using Distributions
julia> using Random: seed!; seed!(1);
Expand All @@ -51,7 +51,7 @@ position from draw to draw (note that, due to noise, the peak may change its pos
Uncertainty of width is modeled with a scaled and shifted Beta(2, 2) distribution:
```jldoctest UBexample
```julia
julia> uc = begin # create uncertain curve with one symmetric peak
x = 0:0.1:10;
y = @. exp(-(x - 5)^2)
Expand All @@ -74,7 +74,7 @@ Useful for integration of several symmetric peaks for which the same width may b
Uncertainty of width is modeled with a scaled and shifted Beta(2, 2) distribution:
```jldoctest UBexample
```julia
julia> uc = begin # create uncertain curve with one symmetric peak
x = 0:0.1:10;
y = @. exp(-(x - 3)^2/0.15) + exp(-(x - 7)^2/0.15)
Expand Down

0 comments on commit 1d30b33

Please sign in to comment.