pytorch
e1a2b0d3 - Fix `test_math_ops` for python-3.11 (#91774)

Commit
1 year ago
Fix `test_math_ops` for python-3.11 (#91774) From [math.pow](https://docs.python.org/3/library/math.html#math.pow) documentation: > Changed in version 3.11: The special cases `pow(0.0, -inf)` and `pow(-0.0, -inf)` were changed to return `inf` instead of raising [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError), for consistency with IEEE 754. Pull Request resolved: https://github.com/pytorch/pytorch/pull/91774 Approved by: https://github.com/ngimel
Author
Committer
Parents
Loading