pytorch
a03f05f2 - Fix "pointless comparison" warning (#47876)

Commit
4 years ago
Fix "pointless comparison" warning (#47876) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/47876 Fixes a pointless comparison against zero warning that arises for some scalar types Test Plan: Arises with ``` buck test mode/dev-nosan //caffe2/torch/fb/sparsenn:gpu_test -- test_prior_correction_calibration_prediction_binary ``` Reviewed By: ngimel Differential Revision: D24925955 fbshipit-source-id: 56bcf32aeb164b078d537dd5d7c28a52bd7b66de
Author
Parents
Loading