You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
log_prob = prior.ln_prob(s)
File "/opt/homebrew/Caskroom/mambaforge/base/envs/dingo-pop/lib/python3.10/site-packages/bilby/core/prior/dict.py", line 809, in ln_prob
return self.check_ln_prob(sample, ln_prob)
File "/opt/homebrew/Caskroom/mambaforge/base/envs/dingo-pop/lib/python3.10/site-packages/bilby/core/prior/dict.py", line 565, in check_ln_prob
if self.evaluate_constraints(sample):
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
If I do not enforce the mass ratio constraint (and also delete the conversion_function), this works as expected (calculating the probability over all samples). Also, if I add axis=0, this returns the log probability for each sample, also not throwing an error. Is this behavior expected? Thanks!
The text was updated successfully, but these errors were encountered:
If I define the following conditional prior dict, the
log_prob
raises an error:The error message I get is
If I do not enforce the mass ratio constraint (and also delete the
conversion_function
), this works as expected (calculating the probability over all samples). Also, if I addaxis=0
, this returns the log probability for each sample, also not throwing an error. Is this behavior expected? Thanks!The text was updated successfully, but these errors were encountered: