diff --git a/doc/src/Eqs/fix_rhok.jpg b/doc/src/Eqs/fix_rhok.jpg
index db8b4ba47295dde92425b642ce098d41d620b78f..829a866be449ecb0f23dc77f547c5b7d053c0469 100644
Binary files a/doc/src/Eqs/fix_rhok.jpg and b/doc/src/Eqs/fix_rhok.jpg differ
diff --git a/doc/src/Eqs/fix_rhok.tex b/doc/src/Eqs/fix_rhok.tex
index 1496a0c73713bf7eb644b4712954f1063b76cf80..a468dfedc963e5d5616ca9baae019145bc421e51 100644
--- a/doc/src/Eqs/fix_rhok.tex
+++ b/doc/src/Eqs/fix_rhok.tex
@@ -4,7 +4,7 @@
 
 \begin{eqnarray*}
  U &=&  \frac{1}{2} K (|\rho_{\vec{k}}| - a)^2 \\
- \rho_{\vec{k}} &=& \sum_i^N \exp(-i\vec{k} \cdot \vec{r}_i )/\sqrt{N} \\
+ \rho_{\vec{k}} &=& \sum_j^N \exp(-i\vec{k} \cdot \vec{r}_j )/\sqrt{N} \\
  \vec{k} &=& (2\pi n_x /L_x , 2\pi n_y  /L_y , 2\pi n_z/L_z ) 
 \end{eqnarray*}