Use proper isnan check
authorJunjie Bai <bai@in.tum.de>
Sun, 31 Mar 2019 09:05:14 +0000 (02:05 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sun, 31 Mar 2019 09:08:11 +0000 (02:08 -0700)
commit828a6a3b3943a0a0701ecacacd2bcc34fc03fe03
tree345d1a5f4c44c67979cf23ed1bf4be4a42ffe079
parentcb39bd9c2f733e81fcd54bc1d00bf7342698e432
Use proper isnan check

Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/18663

Differential Revision: D14699385

Pulled By: bddppq

fbshipit-source-id: 596ad3371e7704802591e49f7e1c55dc6cd2896f
aten/src/TH/generic/THTensorMoreMath.cpp