-
-
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
Fixed sprand for dimensions of unusual integer type #30516
Conversation
You should also fix |
Please re review this PR. |
@raghav9-97 PRs do get reviewed as you submit them (unless you put WIP in the title). In general, you want to bump it up for review if it has not received any attention in about 3-4 days. Hope that helps. Of course, this being holidays, it is likely to take longer. |
@test sprand(UInt8(16), UInt8(16), 1.0) != spzeros(UInt8(16), UInt8(16)) | ||
@test sprand(Int8(16), Int8(16), 1.0) != spzeros(Int8(16), Int8(16)) | ||
@test sprand(UInt8(16), UInt8(16), 1.0, ones) != spzeros(UInt8(16), UInt8(16)) | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have a test that checks correctness of the intended answer with ==
? Also, only one test for each of the changed functions would be enough here.
Is this PR now ready to be merged? |
Fixes #30502.