The code currently contains duplicate proposal additions for both the Chromatic GP noise prior draw and GWB prior draw, which results in the same proposals being added twice to the sampler cycle.
Chromatic GP noise prior draw is added twice:
- https://github.com/nanograv/enterprise_extensions/blob/master/enterprise_extensions/hypermodel.py#L281
- https://github.com/nanograv/enterprise_extensions/blob/master/enterprise_extensions/hypermodel.py#L291
GWB prior draw is added twice:
- https://github.com/nanograv/enterprise_extensions/blob/master/enterprise_extensions/hypermodel.py#L301
- https://github.com/nanograv/enterprise_extensions/blob/master/enterprise_extensions/hypermodel.py#L339
This appears to be an unintentional duplication, likely from a copy-paste operation during development. To ensure proper sampling behavior, please remove the duplicate code blocks so that both the Chromatic GP noise prior draw and GWB prior draw are added only once to the sampler cycle.
The code currently contains duplicate proposal additions for both the Chromatic GP noise prior draw and GWB prior draw, which results in the same proposals being added twice to the sampler cycle.
Chromatic GP noise prior draw is added twice:
GWB prior draw is added twice:
This appears to be an unintentional duplication, likely from a copy-paste operation during development. To ensure proper sampling behavior, please remove the duplicate code blocks so that both the Chromatic GP noise prior draw and GWB prior draw are added only once to the sampler cycle.