From 1d30b3354bd53f925492e3884bea6c8a5fc37ccf Mon Sep 17 00:00:00 2001 From: Nils Luettschwager Date: Wed, 10 Jan 2024 13:13:54 +0100 Subject: [PATCH] excluding some doctests which would need a seed --- src/bounds.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bounds.jl b/src/bounds.jl index 1900fc0..f694125 100644 --- a/src/bounds.jl +++ b/src/bounds.jl @@ -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); @@ -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) @@ -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)