Skip to content

Commit

Permalink
added note for Julia v1.0 workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
icweaver committed Jul 14, 2020
1 parent e088216 commit 1f6fae8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/color_laws.jl
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ function f04_invum(x::Real, Rv::Real)
(@evalpoly Rv 1.208 1.0032 -0.00033)

# updated NIR curve from F04, note R dependence
# Julia v1.0 workaround: https://github.com/JuliaAstro/DustExtinction.jl/pull/31#commitcomment-40605778
nir_axebv_y_coeff = (0.63 * Rv - 0.84)
nir_axebv_y = @. nir_axebv_y_coeff * f04_nir_axav_x^1.84

Expand Down

0 comments on commit 1f6fae8

Please sign in to comment.