astropy/halotools

zheng07_components fails for assembias models.

mclaughlin6464 opened this issue · 1 comments

When using the central modulation feature of Zheng07, if the central model is a subclass of HeavisideAssembias (or a similar model) many calls to mean_occupation will fail. I will submit a pull request that fixes this behavior by defaulting to the baseline_mean_occupation when available.

Thanks for the patch @mclaughlin6464!