bilby-dev / bilby

A unified framework for stochastic sampling packages and gravitational-wave inference in Python.
https://bilby-dev.github.io/bilby/
MIT License
60 stars 71 forks source link

BUG: fix relative binning indices #831

Closed mj-will closed 1 month ago

mj-will commented 1 month ago

In some cases, the relative binning likelihood would fail due the final index being invalid.

I think this is all that is needed to fix it but others should comment. I've tested the GW190425 example, and it runs after this change.

Closes https://github.com/bilby-dev/bilby/issues/830

mj-will commented 1 month ago

This is a duplicated of https://github.com/bilby-dev/bilby/pull/48