Skip to content

Commit

Permalink
Fix missing broadcast
Browse files Browse the repository at this point in the history
  • Loading branch information
TacHawkes authored Feb 1, 2024
1 parent 0f14d2f commit e2db6ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mie.jl
Original file line number Diff line number Diff line change
Expand Up @@ -713,8 +713,8 @@ function ez_intensities(m, d, λ0, μ, n_env = 1.0, norm = :albedo)
λ_env = λ0 / n_env
x_env = π * d / λ_env
s1, s2 = mie_S1_S2(m_env, x_env, μ; norm)
ipar = abs2(s2)
iper = abs2(s1)
ipar = abs2.(s2)
iper = abs2.(s1)
return ipar, iper
end

Expand Down

0 comments on commit e2db6ce

Please sign in to comment.