JuliaLang / Compat.jl

Compatibility across Julia versions
Other
142 stars 117 forks source link

randn for AbstractFloat #797

Open MilesCranmer opened 1 year ago

MilesCranmer commented 1 year ago

https://github.com/JuliaLang/julia/pull/44714 - added in Julia 1.9.

Would be great for packages that call randn(T) internally for input type T<:AbstractFloat. I currently have code that implements this manually - users were trying to pass in BigFloat type arrays to SymbolicRegression.jl and encountered internal errors.