bilby-dev / bilby

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

MAINT: remove unnecessary line in conversion #46

Closed ColmTalbot closed 1 month ago

ColmTalbot commented 1 month ago

I noticed that we have two consecutive

if likelihood is not None:

statements, so I've just removed the second one.