Skip to content

Commit da83b66

Browse files
authored
Update components.py
Fixed scatter implementation in mbh_mass_func_conv
1 parent 4fd7052 commit da83b66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

holodeck/sams/components.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def mbh_mass_func_conv(self, mbh, redz, mmbulge, scatter=None):
137137
138138
"""
139139
if scatter in [None, True]:
140-
scatter = np.log10(10**mmbulge._scatter_dex * (1.0 + redz)**mmbulge._zplaw_scatter)
140+
scatter = mmbulge._scatter_dex
141141

142142
mstar = mmbulge.mstar_from_mbh(mbh, redz=redz, scatter=False)
143143
# This is `dn_star / dlog10(M_star)`

0 commit comments

Comments
 (0)