Closed vandalt closed 3 years ago
@bjfultn, should I add an extra prior (EccentricityPrior([1])
) in the priors test along with the fix ?
Yes please, the only thing better than PRs from the community is PRs that include new tests!
Make sure you pull over from next-release
too so that you are up to date with changes already staged for release.
I rebased on next-release
and added the test.
This fixes #347 by ensuring that
npl
, the variable used to makeupperlims
a list, is always an integer. Ifnum_planets
is a list andupperlims
is a float, the length ofnum_planets
is used to make aupperlims
a list. The issue was thatnpl
was set to the list itself whennum_planets
was a list, but was treated as an integer in the multiplication to make theupperlims
list.