Commit da2533ef authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Fix silly typo

parent 211f8daa
......@@ -238,6 +238,7 @@ __attribute__((const)) INLINE static float D_soft_9(const float u,
float phi = -420.f * u_inv;
phi = phi * u_inv + 315.f;
phi = phi * u_inv;
return phi;
}
......@@ -256,7 +257,7 @@ __attribute__((const)) INLINE static float D_soft_11(const float u,
phi = phi * u_inv;
phi = phi * u_inv;
return 0.f;
return phi;
}
#endif /* SWIFT_KERNEL_GRAVITY_H */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment