Skip to content
Snippets Groups Projects
Commit 7d5f90ad authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Corrected typo in 4th order vector powers.

parent 4824a87d
No related branches found
No related tags found
1 merge request!331Gravity multi dt
...@@ -307,7 +307,7 @@ __attribute__((always_inline)) INLINE static double X_310(const double v[3]) { ...@@ -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]) { __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];
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment