Closed bluss closed 4 months ago
When an array has 0 or 1 elements, strides don't matter anymore. The general case of this function handled this correctly, but the special case for ndim == 1 did not.
Fixes #1359
thanks for checking. The lint fixes are helpful here too, best to get them in.
When an array has 0 or 1 elements, strides don't matter anymore. The general case of this function handled this correctly, but the special case for ndim == 1 did not.
Fixes #1359