1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Critical bug fix of sin/cos typo

This commit is contained in:
Azusa Yamaguchi 2015-06-16 14:17:45 +01:00
parent 79a9f8b9c9
commit 9c16bccbf4

View File

@ -100,7 +100,7 @@ namespace Grid {
} }
template < class S, class V > template < class S, class V >
inline Grid_simd<S,V> sin(const Grid_simd<S,V> &r) { inline Grid_simd<S,V> sin(const Grid_simd<S,V> &r) {
return SimdApply(CosRealFunctor<S>(),r); return SimdApply(SinRealFunctor<S>(),r);
} }
template < class S, class V > template < class S, class V >
inline Grid_simd<S,V> log(const Grid_simd<S,V> &r) { inline Grid_simd<S,V> log(const Grid_simd<S,V> &r) {