PaddedViews.jl icon indicating copy to clipboard operation
PaddedViews.jl copied to clipboard

make ranges in tests have correct indices

Open matthias314 opened this issue 6 months ago • 0 comments

This PR was suggested by @nsajko in JuliaLang/julia#54825. Currently Julia compares ranges only by comparing their values, not their indices, although they should also be taken into account for AbstractVector. Some tests in PaddedViews.jl rely on this special behavior. This PR makes sure that the ranges used in the tests have correct indices.

EDIT: text reworded

matthias314 avatar Aug 15 '24 21:08 matthias314