Describe the bug
Latest version of numpy returns an error. Numpy v 2.3.5 seems to still work
To Reproduce
Install numpy ver 2.4.3 and run nessai in bilby
Expected behaviour
Get error that ends like this:
...python3.12/site-packages/bilby/core/prior/dict.py", line 464, in sample_subset_constrained
n_valid_samples += int(is_valid)
^^^^^^^^^^^^^
TypeError: only 0-dimensional arrays can be converted to Python scalars
Describe the bug
Latest version of numpy returns an error. Numpy v 2.3.5 seems to still work
To Reproduce
Install numpy ver 2.4.3 and run nessai in bilby
Expected behaviour
Get error that ends like this:
...python3.12/site-packages/bilby/core/prior/dict.py", line 464, in sample_subset_constrained
n_valid_samples += int(is_valid)
^^^^^^^^^^^^^
TypeError: only 0-dimensional arrays can be converted to Python scalars