mongodb / signal-processing-algorithms

Apache License 2.0
39 stars 16 forks source link

Deprecation warnings #12

Open pkolaczk opened 3 years ago

pkolaczk commented 3 years ago

This started happening after update to a recent version 1.3.2:

tests/report_test.py: 2 warnings
  /home/pkolaczk/.pyenv/versions/3.8.4/envs/fallout-env/lib/python3.8/site-packages/signal_processing_algorithms/e_divisive/e_divisive.py:41: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
  Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
    self._series: np.ndarray = np.ndarray(0, dtype=np.float)

In total: 8526 warnings