Skip to content

Commit

Permalink
Keep the code compatible with Julia 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ziotom78 committed Jul 3, 2021
1 parent 07e5f8c commit e81932c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_mapio.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ for i in length(m_nothing)
@test isnothing(m_nothing[i])
end

nothing_name = tempname(; cleanup=false)
nothing_name = tempname()
Healpix.saveToFITS(m_nothing, nothing_name)

m_read = Healpix.readMapFromFITS(nothing_name, 1, Union{Float32, Nothing})
Expand All @@ -100,7 +100,7 @@ for i in length(m_nothing.i)
@test isnothing(m_nothing.u[i])
end

nothing_name = tempname(; cleanup=false)
nothing_name = tempname()
Healpix.saveToFITS(m_nothing, nothing_name)

m_read = Healpix.readPolarizedMapFromFITS(nothing_name, 1, Union{Float32, Nothing})
Expand Down

0 comments on commit e81932c

Please sign in to comment.