Closed sabian2008 closed 5 years ago
Thanks for the notification! I updated to code to replace the deprecated use of non-tuple sequences. Version 0.6.3 is now available at pypi.
Thanks for the notification! I updated to code to replace the deprecated use of non-tuple sequences. Version 0.6.3 is now available at pypi.
That was fast! Thanks a lot!
Just updated from pypi
and can confirm it works as expected for my use case.
For the latest versions of Python 3 (tested in
python 3.6.8
), initializing aFinDiff
class displays aFutureWarning
due to the usage of sequences instead of tuples for array indexing. I found several examples of this inoperators.py
, most of them in the FinDiff class definition.Minor refactoring enclosing sequences with
tuple()
should fix this warning (and possible silent error in future versions of Python).The full warning reads: