Skip to content

Commit d369bf0

Browse files
Fixes torus emission (#1065)
2 parents 6fc6645 + 0346543 commit d369bf0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/synthesizer/emission_models/agn/unified_agn.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,10 +678,11 @@ def _make_line_regions(
678678

679679
def _make_torus(self, torus_emission_model, **kwargs):
680680
"""Make the torus spectra."""
681+
torus_emission_model.set_scaler(self.disc_incident_isotropic)
682+
681683
return BlackHoleEmissionModel(
682684
label="torus",
683685
generator=torus_emission_model,
684-
lum_intrinsic_model=self.disc_incident_isotropic,
685686
scale_by="torus_fraction",
686687
**kwargs,
687688
)

0 commit comments

Comments
 (0)