forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use c10 math constants consistently in Math.h (pytorch#91967)
On MSVC the `M_` constants are hidden behind the `USE_MATH_DEFINES` macro, so it's better to avoid them in headers otherwise the include order can break compilation. Pull Request resolved: pytorch#91967 Approved by: https://github.com/malfet
- Loading branch information
1 parent
c7a22bb
commit 8acf0e6
Showing
3 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters