Skip to content

Conversation

@EasonYD88
Copy link

This pull request updates the code to replace the deprecated usage of np.bool with np.bool_ and np.float with float in order to ensure compatibility with recent versions of NumPy.

Copilot AI review requested due to automatic review settings January 28, 2026 02:06
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates deprecated NumPy scalar aliases to maintain compatibility with recent NumPy versions.

Changes:

  • Replace np.bool with np.bool_ for boolean array allocation.
  • Replace np.float with built-in float for float array allocation.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
alphaspace2/functions.py Updates boolean dtype from deprecated np.bool to np.bool_.
alphaspace2/Snapshot.py Updates float dtype from deprecated np.float to built-in float.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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