francof2a / fxpmath

A python library for fractional fixed-point (base 2) arithmetic and binary manipulation with Numpy compatibility.
MIT License
183 stars 21 forks source link

FutureWarning #45

Closed qarlosalberto closed 2 years ago

qarlosalberto commented 3 years ago

Hi!

Thanks for the library it's really useful :) I have this warning with the version 0.4.4:

/usr/local/lib/python3.8/dist-packages/fxpmath/objects.py:499: FutureWarning: Conversion of the second argument of issubdtype from `str` to `str` is deprecated. In future, it will be treated as `np.str_ == np.dtype(str).type`.
  if np.issubdtype(val.dtype, str):
francof2a commented 3 years ago

Hi @qarlosalberto Thanks for reporting the issue. It will be reviewed for next patch/minor release.

If you can, please comment a piece of code to reproduce the warning message.

francof2a commented 2 years ago

solved in version 0.4.5