Skip to content

Replace np.float_ with np.float64#4

Closed
orestiskapar wants to merge 2 commits into
signaloid:mainfrom
orestiskapar:issue-3
Closed

Replace np.float_ with np.float64#4
orestiskapar wants to merge 2 commits into
signaloid:mainfrom
orestiskapar:issue-3

Conversation

@orestiskapar
Copy link
Copy Markdown

@orestiskapar orestiskapar 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.

@tfotakis-signaloid
Copy link
Copy Markdown
Collaborator

Closed as implemented in this PR.

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

3 participants