-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rand(sa, ::Int) returns Vector #308
Comments
Agree that it would make sense – but unfortunately there doesn't appear to be a consensus :( |
After reading the Julia thread I think they're right. If For a type-preserving |
Lots of function do type preservation only when it makes sense, returning the closest reasonable type – don't see how |
|
There are so many it's hard to decide where to start :) |
Does this have to return
Vector
or could it returnStructArray
?The text was updated successfully, but these errors were encountered: