1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-04 19:25:56 +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 74845cb3dc
commit 77058d9b9f

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) {