tskit-dev / tsinfer

Infer a tree sequence from genetic variation data.
GNU General Public License v3.0
56 stars 13 forks source link

UserWarning: The value of the smallest subnormal for <class 'numpy.float64'> type is zero. #957

Open hyanwong opened 2 months ago

hyanwong commented 2 months ago

When running tsinfer.infer (e.g. here), we are getting a warning which I gather is down to the use of the --ffast-math compilation option:

/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/numpy/core/getlimits.py:549: UserWarning: The value of the smallest subnormal for <class 'numpy.float64'> type is zero.
  setattr(self, word, getattr(machar, word).flat[0])
hyanwong commented 1 week ago

From the "latest" docs:

Screenshot 2024-11-10 at 13 49 34