Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hyanwong opened this issue Aug 30, 2024 · 0 comments

Comments

@hyanwong
Copy link
Member

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 hyanwong changed the title serWarning: The value of the smallest subnormal for <class 'numpy.float64'> type is zero. UserWarning: The value of the smallest subnormal for <class 'numpy.float64'> type is zero. Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant