pytorch
0fdb90da - [warning] Fix TORCH_INTERNAL_ASSERT calls missing condition to check 1/x (#71711)

Commit
2 years ago
[warning] Fix TORCH_INTERNAL_ASSERT calls missing condition to check 1/x (#71711) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/71711 This will fix a ton of broken asserts that should always fire but never actually fire. All would have been caught with `-Wstring-conversion` warnings enabled. Test Plan: CI Pass Differential Revision: D33743605 fbshipit-source-id: 062641f9d5d02c6e317c5a286fd01017cf77237f (cherry picked from commit 639b42e04b78c35389a1e3a12ae46901d7808e53)
Author
Nolan O'Brien
Committer
Parents
Loading