Fix rand(Uniform{Float32})#1355
Conversation
generate random numbers using the type of the distribution.
|
This seems to be a subset of the changes in #1045. This issue has been raised before but no decision has been made how to deal with the inconsistencies of |
|
Yeah. I understand that the issue has been raised before, but this is a 1 line change that brings it more in line with |
|
IMO this is not the right approach since it is not a general solution - as I said, sometimes you don't know the output type of |
generate random numbers using the type of the distribution.