wdpozzo / raynest

Nested sampling algorithm parallelised through ray
MIT License
6 stars 1 forks source link

Figaro import partially fails after figaro 1.4.0 #2

Open SimonMaenaut opened 6 months ago

SimonMaenaut commented 6 months ago

In figaro 1.4.0 and later the likelihood.py file no longer exists and the log_norm function is in _likelihood.py instead. https://github.com/sterinaldi/FIGARO/blob/main/figaro/_likelihood.py#L41

The import linked below should be adjusted for Hamiltonian Monte Carlo sampling to work again: https://github.com/wdpozzo/raynest/blob/5642c66e9ce5688dfb05743d79065344b7c230cb/raynest/figaro_gradient.py#L3

Kind regards, Simon

sterinaldi commented 1 week ago

Hi Simon,

4 resolves this issue :)