-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Vector256.Shuffle() returns incorrect result when index is out of bounds #85132
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
Comments
Tagging subscribers to this area: @dotnet/area-system-numerics Issue DetailsDescriptionVector256.Shuffle() returns incorrect result when index is out of bounds. When index is out of bounds, expected to return 0 for that and rest of values correctly Reproduction Steps
Expected behaviorNot crash and return 0 for out of bound index Actual behaviorCrashed on latest main on 7.0, returns incorrect value :
Regression?No response Known WorkaroundsNo response ConfigurationNo response Other informationNo response
|
This was resolved in #86453 |
Description
Vector256.Shuffle() returns incorrect result when index is out of bounds. When index is out of bounds, expected to return 0 for that and rest of values correctly
Reproduction Steps
Expected behavior
Not crash and return 0 for out of bound index
Actual behavior
Crashed on latest main for Debug build
on 7.0, returns incorrect value on sharplab(release?) :
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: