Skip to content

Commit

Permalink
Remove requirement for intrinsic to have non-zero escape fraction (#835)
Browse files Browse the repository at this point in the history
  • Loading branch information
WillJRoper authored Feb 12, 2025
2 parents 01d37d9 + ba1834c commit cddd331
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/synthesizer/emission_models/stellar/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,12 +394,6 @@ def __init__(
reprocessed (EmissionModel): The reprocessed model to use, if None
then one will be created.
"""
# Ensure what we've been asked for makes sense
if fesc == 0.0:
raise ValueError(
"Intrinsic emission model requires an escape fraction > 0.0"
)

# Make an escaped model if we need one
if escaped is None:
escaped = EscapedEmission(
Expand Down

0 comments on commit cddd331

Please sign in to comment.