Skip to content

Commit 1ef646b

Browse files
use double backslash to avoid \pi being interpreted as an escape sequence
Co-authored-by: Agriya Khetarpal <[email protected]>
1 parent 71732ed commit 1ef646b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pybamm/expression_tree/unary_operators.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -616,8 +616,8 @@ class Integral(SpatialOperator):
616616
where :math:`u\\in\\text{domain}` is a spatial variable, :math:`u_{min}` and :math:`u_{max}` are the values of
617617
:math:`u` at the left-hand and right-hand boundaries of the domain respectively, and :math:`dq` is given by, \n
618618
:math:`dq=du` for cartesian coordinates, \n
619-
:math:`dq=2\pi udu` for cylindrical coordinates, \n
620-
:math:`dq=4\pi u^2 du` for spherical coordinates.
619+
:math:`dq=2\\pi udu` for cylindrical coordinates, \n
620+
:math:`dq=4\\pi u^2 du` for spherical coordinates.
621621
622622
Parameters
623623
----------

0 commit comments

Comments
 (0)