Closed ajkeller34 closed 8 years ago
(I didn't say it explicitly, but the problem was that the axis name, a symbol, was being interpolated into the expression returned from the generated function, and so error
saw the axis name not as a string but as a symbol to look up.)
The travis failure looks unrelated, not sure what happened.
Yup, looks like some sort of precompilation-related error. I restarted the builds and they passed.
…when given repeated axes.
There is a TODO in indexing.jl asking whether or not AxisArrays should allow indexing with repeated axes. This PR does not make a decision about that, but on master the expected
ErrorException
is not thrown:In this PR, in addition to displaying the expected error message I've made it an
ArgumentError
rather than anErrorException
:I'll keep working my way towards a PR for
atvalue
as discussed earlier, I'm just trying to understand indexing better first.