Skip to content

Commit

Permalink
fixing bug in call to get r to evaluate
Browse files Browse the repository at this point in the history
  • Loading branch information
eas342 committed Dec 28, 2020
1 parent a513a10 commit d79c425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dust_mie/calc_mie.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def get_mie_coeff_distribution(wav,r=0.1,material='Fe2SiO4',s=0.5,
## Size multiplier
nwav = np.array(wav).size

sizeEval, dSize = get_r_to_evaluate(r,s=r,pdfThreshold=pdfThreshold,npoint=npoint)
sizeEval, dSize = get_r_to_evaluate(r,s=s,pdfThreshold=pdfThreshold,npoint=npoint)

weights = lognorm(sizeEval,s,r) * dSize
sumWeights = np.sum(weights)
Expand Down

0 comments on commit d79c425

Please sign in to comment.