From 7d5f90add69733ab6fadf42576e772a3405e8e02 Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durham.ac.uk> Date: Mon, 17 Apr 2017 20:47:24 +0100 Subject: [PATCH] Corrected typo in 4th order vector powers. --- src/vector_power.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vector_power.h b/src/vector_power.h index 4f93ece3c2..f2fd438175 100644 --- a/src/vector_power.h +++ b/src/vector_power.h @@ -307,7 +307,7 @@ __attribute__((always_inline)) INLINE static double X_310(const double v[3]) { */ __attribute__((always_inline)) INLINE static double X_301(const double v[3]) { - return 0.1666666666666667 * v[0] * v[0] * v[0] * v[1]; + return 0.1666666666666667 * v[0] * v[0] * v[0] * v[2]; } /** -- GitLab