From 77058d9b9fa1b1aec99e0a63e4a56181bdcf721f Mon Sep 17 00:00:00 2001 From: Azusa Yamaguchi Date: Tue, 16 Jun 2015 14:17:45 +0100 Subject: [PATCH] Critical bug fix of sin/cos typo --- lib/simd/Grid_vector_unops.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {