Closed jmitrevs closed 1 year ago
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.
np.int
np.float
int
float
Pytests with the quartus backend and test_embedded.py both fail without this change.
test_embedded.py
pre-commit
Description
Starting with numpy 1.24
np.int
andnp.float
are no longer just deprecated but raise an error. This PR just changes them toint
andfloat
.Type of change
Tests
Pytests with the quartus backend and
test_embedded.py
both fail without this change.Checklist
pre-commit
on the files I edited or added.