Skip to content

Commit

Permalink
Fix greater equal
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexHls committed Nov 1, 2023
1 parent 2a4c3d8 commit 7a73862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tardis/io/decay.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def decay(self, t):
df = IsotopeAbundances.from_inventories(decayed_inventories)
df.sort_index(inplace=True)
assert (
df.gt(0).all().all()
df.ge(0.0).all().all()
), "Negative abundances detected. Please make sure your input abundances are correct."
return df

Expand Down

0 comments on commit 7a73862

Please sign in to comment.