Skip to content

Conversation

@prbzrg
Copy link

@prbzrg prbzrg commented Nov 6, 2023

this fixes:

julia> dist = Uniform{Float32}(-0.1f0, 0.1f0)
Uniform{Float32}(a=-0.1f0, b=0.1f0)

julia> typeof(rand(dist))
Float64

@devmotion
Copy link
Member

See #1796 and other discussions in the repo for why this is inconsistent with the current design of Distributions.

@devmotion devmotion closed this Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants