Open soerenwolfers opened 4 weeks ago
Tagging subscribers to this area: @dotnet/area-system-numerics See info in area-owners.md if you want to be subscribed.
Tagging subscribers to this area: @dotnet/area-system-numerics-tensors See info in area-owners.md if you want to be subscribed.
Ok, this should throw when j = 0 || j = 1
, but not when j > 1
. I'll fix the 0 case. As long as there is enough backing memory its ok if there is more backing memory than the lengths/span can actually access.
Description
throws a ArgumentException if
j == 1
but not ifj == 0
orj > 1
.Reproduction Steps
Expected behavior
Error when
j <= 1
Actual behavior
Error if and only if
j == 1
Regression?
No response
Known Workarounds
No response
Configuration
.NET8, Ubuntu22, x64
Other information
No response