remove obsolete np.int and np.float
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.