Skip to content
Snippets Groups Projects
Commit 646c23dc authored by Florent Jaillet's avatar Florent Jaillet
Browse files

Fix VisibleDeprecationWarnings reported in issue #2

As reported in Issue #2, many VisibleDeprecationWarnings were raised
when running the tests of ltfatpy with a recent version of numpy.

This is now solved by insuring that values used for indexes in numpy
arrays are integers, either by using integer division (//) where needed,
or by explicitely converting to integer type (changing np.func(X/2) to
int(np.func(X/2))), or by using int as the array dtype.
parent 85a3bc97
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment