Fix variable checking in THCPModule_setRNGState (#17474)
authorWill Feng <willfeng@fb.com>
Mon, 25 Feb 2019 18:56:03 +0000 (10:56 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 25 Feb 2019 19:05:51 +0000 (11:05 -0800)
commit393c97fda79454a4c482409f67e1502c3e93b82a
tree2afde8efcf6cc9eae1515e697322b03c68a332a9
parent724c7e76c69ac26140ceb61576de8b96bb8417e8
Fix variable checking in THCPModule_setRNGState (#17474)

Summary:
See https://github.com/pytorch/pytorch/pull/16325/files#r259576901
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17474

Differential Revision: D14209549

Pulled By: yf225

fbshipit-source-id: 2ae091955ae17f5d1540f7d465739c4809c327f8
torch/csrc/cuda/Module.cpp