Make the warning suppression safer (#15560)
authorpeter <peterghost86@gmail.com>
Sat, 29 Dec 2018 06:10:08 +0000 (22:10 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sat, 29 Dec 2018 06:12:36 +0000 (22:12 -0800)
commit119efd52660856804c34f5414f75ed21d4428988
tree1930ddb87f261ce53105a6004744eb8ca6d8f2c2
parentd53012b4fe6f1fc6768bf30559069fd8b0ff53f9
Make the warning suppression safer (#15560)

Summary:
Address the problem introduced in https://github.com/pytorch/pytorch/pull/15499#issuecomment-450038494.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15560

Differential Revision: D13561346

Pulled By: soumith

fbshipit-source-id: 6abf622672bdcb77ae1a7188e8a3817fa97aecbc
c10/Half.h