Closed blsqr closed 3 years ago
Thanks @blsqr! I have made some changes to address the warnings emitted while running the tests. I no longer see any warnings. The changes are in the joss_review
branch, and this issue will be closed when that branch is merged into master
.
Perfect! 👍
For reference, the relevant commit is 1850b3c1676e0bb55752d617158741d5c371d9aa.
Running the tests emits a large number (>600) of warnings, most of which stem from the use of
np.int
in theinit_…
functions.np.int
is simply an alias to the builtin Pythonint
and – as of numpy 1.20 –np.int
is deprecated.You can simply replace it with
int
to address the warnings. Alternatively, you may want to use the precision limited (but perhaps faster)np.int64
,np.int32
…