Skip to content

Replace np.float_ with np.float64 #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

KomaGR
Copy link

@KomaGR KomaGR commented Jul 24, 2025

Replace instances of np.float_ with np.float64 since the shorthand float_ got removed in in NumPy 2. This makes the package compatible with NumPy>=2 (though pyproject.toml dependencies don't explicitly allow this yet) This is backwards compatible to earlier NumPy versions down to at least v1.13.

Closes #3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AttributeError with np.float_ in distributional.py for NumPy>=2.0
1 participant