Skip to content

Commit

Permalink
make string an r-string to avoid escaping backslash
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyStegeman committed Jun 26, 2024
1 parent 8b51ff9 commit 42dae96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion validphys2/src/validphys/arclength.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Module for the computation and presentation of arclengths.
"""

from collections import namedtuple
from collections.abc import Sequence
import numbers
Expand Down Expand Up @@ -150,7 +151,7 @@ def integrability_number(
basis: (str, Basis) = "evolution",
flavours: (list, tuple, type(None)) = None,
):
"""Return \sum_i |x_i*f(x_i)|, x_i = {1e-9, 1e-8, 1e-7}
r"""Return \sum_i |x_i*f(x_i)|, x_i = {1e-9, 1e-8, 1e-7}
for selected flavours
"""
checked = check_basis(basis, flavours)
Expand Down

0 comments on commit 42dae96

Please sign in to comment.