Closed kbarbary closed 8 years ago
This fixes tests on Julia v0.5, by making read(hdu, 1, 1:10) return an Array{T, 1} instead of Array{T, 2}, in line with how data[1, 1:10] now works.
read(hdu, 1, 1:10)
Array{T, 1}
Array{T, 2}
data[1, 1:10]
It would probably be good to have a more precise version for this change if anyone knows it. Right now the test is just VERSION >= v"0.5.0-dev".
VERSION >= v"0.5.0-dev"
This fixes tests on Julia v0.5, by making
read(hdu, 1, 1:10)
return anArray{T, 1}
instead ofArray{T, 2}
, in line with howdata[1, 1:10]
now works.It would probably be good to have a more precise version for this change if anyone knows it. Right now the test is just
VERSION >= v"0.5.0-dev"
.