JuliaArrays / AxisArrays.jl

Performant arrays where each dimension can have a named axis with values
http://JuliaArrays.github.io/AxisArrays.jl/latest/
Other
200 stars 42 forks source link

Add and test for a better boundserror when performing implicit value indexing #115

Closed iamed2 closed 7 years ago

iamed2 commented 7 years ago

Previously a A[:, DateTime(2016, 1, 2, 3)] call which would throw a BoundsError from axisindexes would throw BoundsError(4:3, 1) instead of something referencing the input.

If anyone has better ideas for testing the contents of an error struct than this I'm more than happy to change it.

iamed2 commented 7 years ago

@mbauman @ajkeller34 review/merge?