Skip to content

remove obsolete np.int and np.float

Javier Duarte requested to merge github/fork/jmitrevs/no_np_int into main

Created by: jmitrevs

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.

Merge request reports

Loading