jax-ml / ml_dtypes

A stand-alone implementation of several NumPy dtype extensions used in machine learning.
Apache License 2.0
206 stars 28 forks source link

Fix finfo test #227

Closed jakevdp closed 1 day ago

jakevdp commented 1 day ago

NumPy changed weak promotion semantics in https://github.com/numpy/numpy/pull/27543, and this caused some of our tests to fail for types that cannot represent zero when tested agaist the nightly NumPy release.