JuliaStats/DataArrays.jl — pull request #83 by jdrugo (2014-04-25 08:16:13+00:00)
Title: Cleaning up getindex for DataArray

The Number-specific getindex implementation failed on #undef elements in the DataArray data. For example,

```Julia
x = DataArray(Integer, 5)
x[[1, 2]]
```

caused an

```Julia
access to undefined reference
```

As fixing this would mean replicating the code from the more generic getindex methods, I suggest removing the more specific methods instead. Why where they there in the first place?

Furthermore, setting NA elements to NA explicitly after similar() is not required, as this is already done in similar().