Modify cos to cosh in Vec256 (#20797)

Summary:
Minor typo fix.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20797

Differential Revision: D15469308

Pulled By: ezyang

fbshipit-source-id: 3288ad69316e296e46d861737c5b09e0ea1e694b
This commit is contained in:
vishwakftw
2019-05-23 13:21:19 -07:00
committed by Facebook Github Bot
parent 70caa2efe2
commit cf0268e51c

View File

@ -133,7 +133,7 @@ public:
return map(std::cos);
}
Vec256<double> cosh() const {
return map(std::cos);
return map(std::cosh);
}
Vec256<double> ceil() const {
return _mm256_ceil_pd(values);