From 60910e64f12a122e9f2bed4c86ecef66dbe39c57 Mon Sep 17 00:00:00 2001 From: LunarLanding <4441338+LunarLanding@users.noreply.github.com> Date: Sat, 11 Apr 2020 17:17:48 +0100 Subject: [PATCH] Fix typo in latex formula (cosine was not squared) What the title says; I am assuming it is squared in the implementation. --- doc/src/pair_cosine_squared.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/pair_cosine_squared.rst b/doc/src/pair_cosine_squared.rst index b7fa29bbd5..a8cf206135 100644 --- a/doc/src/pair_cosine_squared.rst +++ b/doc/src/pair_cosine_squared.rst @@ -46,7 +46,7 @@ Style *cosine/squared* computes a potential of the form E = \begin{cases} -\epsilon& \quad r < \sigma \\ - -\epsilon\cos\left(\frac{\pi\left(r - \sigma\right)}{2\left(r_c - \sigma\right)}\right)&\quad \sigma \leq r < r_c \\ + -\epsilon\cos\left(\frac{\pi\left(r - \sigma\right)}{2\left(r_c - \sigma\right)}\right)^2&\quad \sigma \leq r < r_c \\ 0& \quad r \geq r_c \end{cases}