You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Historically, the functions in StatsBase and Distributions have mainly been defined for Float64. We are in a process of making the methods more generic with respect to element type but there is still much work to do. A PR to handle this would be appreciated.
I encountered a bug when wanting to sample from weight vec of single-precision floats. Below is a minimal working example.
I can get around this problem by sampling one item at a time, but seems like a bug to fix.
The text was updated successfully, but these errors were encountered: