Skip to content

numpy version 2.4.3 -- nessai via bilby fails #478

@GPLamb

Description

@GPLamb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions