Ignore strides on a length-0 dimension (even if they would be incompatible length > 1)
(func, sizes)
| 792 | @pytest.mark.parametrize("func", [m.iss738_f1, m.iss738_f2]) |
| 793 | @pytest.mark.parametrize("sizes", [(0, 2), (2, 0)]) |
| 794 | def test_zero_length(func, sizes): |
| 795 | """Ignore strides on a length-0 dimension (even if they would be incompatible length > 1)""" |
| 796 | assert np.all(func(np.zeros(sizes)) == np.zeros(sizes)) |
| 797 | |
| 798 | |
| 799 | def test_issue1105(): |