diff --git a/lib/simd/Grid_vector_unops.h b/lib/simd/Grid_vector_unops.h index 3ba77d82..37d1f6de 100644 --- a/lib/simd/Grid_vector_unops.h +++ b/lib/simd/Grid_vector_unops.h @@ -100,7 +100,7 @@ namespace Grid { } template < class S, class V > inline Grid_simd sin(const Grid_simd &r) { - return SimdApply(CosRealFunctor(),r); + return SimdApply(SinRealFunctor(),r); } template < class S, class V > inline Grid_simd log(const Grid_simd &r) {