Hi,
I’m trying to code an extension of the Distributions.jl to add my own distribution, a convolution of N gammas, for which there exists an efficient algorithm for exact pdf / cdf computations.
I wrote a bunch of code, and i’m now trying to test it. For the moment it complaints about
MethodError: no method matching rand(::Random._GLOBAL_RNG, ::Exponential{Float64})
Edit :
I get why, i was making a mistake in the way i implemented the RNG. The documentaiton is quite outdated, this Implementing a custom Sampler in Distributions.jl - #2 by contradict solved it.