1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +01: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 >
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 >
inline Grid_simd<S,V> log(const Grid_simd<S,V> &r) {