Skip to content

Commit 088396a

Browse files
committed
Fix SDF documentation error
1 parent 9c22e2b commit 088396a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hoomd/hpmc/compute.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,8 +441,8 @@ def betaP(self): # noqa: N802 - allow function name
441441
required) and computes the pressure via:
442442
443443
.. math::
444-
\\beta P = \\rho \\left(1 + \\frac{s_\\mathrm{comp}(0+)}{2d} +
445-
\\frac{s_\\mathrm{exp}(0-)}{2d} \
444+
\\beta P = \\rho \\left(1 +
445+
\\frac{s_\\mathrm{comp}(0+) - s_\\mathrm{exp}(0-)}{2d} \
446446
\\right)
447447
448448
where :math:`d` is the dimensionality of the system, :math:`\\rho` is

0 commit comments

Comments
 (0)