Inline the << operator on half floats

This commit is contained in:
Benoit Steiner 2016-04-14 11:40:48 -07:00
parent 5912ad877c
commit 5379d2b594

View File

@ -510,7 +510,7 @@ static EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC int (isfinite)(const Eigen::half& a
namespace std {
ostream& operator << (ostream& os, const Eigen::half& v) {
EIGEN_STRONG_INLINE ostream& operator << (ostream& os, const Eigen::half& v) {
os << static_cast<float>(v);
return os;
}