Skip to content

Commit

Permalink
fix the lower abundance limit
Browse files Browse the repository at this point in the history
  • Loading branch information
AWehrhahn committed Jun 3, 2022
1 parent 3c881f5 commit 63955c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pysme/sme_synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,9 @@ def InputAbund(self, abund):
"""
abund = abund("sme", raw=True)
# TODO: does this make sense or should we fix the C code?
abund[np.isnan(abund)] = -12
abund[np.isnan(abund)] = -13
abund[abund < -13] = -13

_smelib.InputAbund(abund)

def Opacity(self):
Expand Down

0 comments on commit 63955c2

Please sign in to comment.