add a constexpr in c10::Half (#16091)
authorSoumith Chintala <soumith@gmail.com>
Thu, 17 Jan 2019 05:09:09 +0000 (21:09 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 17 Jan 2019 05:13:21 +0000 (21:13 -0800)
commitaa6b0f50ad4daadb5e35ab89ecc325e35d1207dc
tree769a54472243debc28290f2f8a0580047dd64171
parentd277f77da24af444d1fd2a64443204e64b2214b4
add a constexpr in c10::Half (#16091)

Summary:
Debug build generates references which are not resolved otherwise

as recognized by dlibenzi
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16091

Differential Revision: D13703584

Pulled By: soumith

fbshipit-source-id: 6ac5666d2c6b1520e083f6eac9c535a1609d9c6b
c10/util/Half.cpp