Skip to content

Added numpy 2.x compatibility#234

Open
sem-k32 wants to merge 1 commit intocjlin1:masterfrom
sem-k32:master
Open

Added numpy 2.x compatibility#234
sem-k32 wants to merge 1 commit intocjlin1:masterfrom
sem-k32:master

Conversation

@sem-k32
Copy link

@sem-k32 sem-k32 commented Feb 13, 2026

There is an issue when assigning 1-element numpy array to a float variable in numpy 2.x. Adding .item() will work for numpy 1.x and 2.x.

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.

1 participant