diff --git a/holodeck/relations.py b/holodeck/relations.py index 2dc42429..f21c827c 100644 --- a/holodeck/relations.py +++ b/holodeck/relations.py @@ -269,8 +269,7 @@ def bulge_mass_frac(self, mstar): def mbh_from_host(self, pop, scatter=None) -> ArrayLike: host = self.get_host_properties(pop) mbulge = host['mbulge'] - redz=pop.redz - return self.mbh_from_mbulge(mbulge, redz=redz, scatter=scatter) + return self.mbh_from_mbulge(mbulge, redz=None, scatter=scatter) def mbh_from_mbulge(self, mbulge, redz=None, scatter=None): """Convert from stellar-bulge mass to black-hole mass. @@ -458,7 +457,7 @@ def __init__(self, *args, zplaw=None, **kwargs): self._zplaw = zplaw return - def mbh_from_host(self, pop, redz, scatter): + def mbh_from_host(self, pop, scatter): host = self.get_host_properties(pop, copy=False) mbulge = host['mbulge'] # shape (N, 2) redz = host['redz'] # shape (N,)