Skip to content
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

remove obsolete np.int and np.float #703

Merged
merged 1 commit into from Jan 9, 2023

Conversation

jmitrevs
Copy link
Contributor

@jmitrevs jmitrevs commented Jan 9, 2023

Description

Starting with numpy 1.24 np.int and np.float are no longer just deprecated but raise an error. This PR just changes them to int and float.

Type of change

  • Bug fix (non-breaking change that fixes an issue)

Tests

Pytests with the quartus backend and test_embedded.py both fail without this change.

Checklist

  • I have read the guidelines for contributing.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have installed and run pre-commit on the files I edited or added.

@jmduarte jmduarte self-requested a review January 9, 2023 18:37
@jmduarte jmduarte added bug please test Trigger testing by creating local PR branch labels Jan 9, 2023
@jmduarte jmduarte merged commit 7e391d2 into fastmachinelearning:main Jan 9, 2023
calad0i pushed a commit to calad0i/hls4ml that referenced this pull request Jul 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug please test Trigger testing by creating local PR branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants