-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
randbool!(a::Array) is no more implemented #8377
Comments
Maybe we should deprecate |
I propose that |
My mistake, the alternative to |
I don't know about the general user base, but I use it all the time! (Really, probably some 90% of my projects use it.) So I'll cast a vote to keep it. I think it also goes together with About renaming |
@carlobaldassi ok! and what do you think of |
@rfourquet That seems ok to me, as it makes things more consistent and there's now a perfectly good alternative. But since it's quite breaking, and the new meaning does not seem to be actually very useful in itself, I'd advocate a deprecation period. |
I don't see any value in making |
For consistency and because I don't see the need to have this special case, but as you point many array methods apply to scalars, so the status quo is probably ok. |
This method was deleted in commit 550c57c, but the docs were not updated.
Could a
rand(::Type{Bool})
method be added instead?The text was updated successfully, but these errors were encountered: