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 41 forks source link

Some quiet type cleanup #124

Open iamed2 opened 6 years ago

iamed2 commented 6 years ago

I was staring at the AxisArrays code and this was bothering me so I changed it 🙃

  1. Now the bounds on D and Ax are enforced in the type itself. Only one change was required to remove ambiguities.
  2. NTuple{N, _} is now consistently used instead of Tuple{Vararg{_, N}}. Tuple{Vararg{_}} remains to indicate actual possible variation.