Closed prbzrg closed 8 months ago
this fixes:
julia> dist = Uniform{Float32}(-0.1f0, 0.1f0) Uniform{Float32}(a=-0.1f0, b=0.1f0) julia> typeof(rand(dist)) Float64
See https://github.com/JuliaStats/Distributions.jl/pull/1796 and other discussions in the repo for why this is inconsistent with the current design of Distributions.
this fixes: