Skip to content

Commit dbfd638

Browse files
authored
Fix two docstrings that should have r prefix (#3851)
1 parent 2bd0666 commit dbfd638

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

openmc/data/dose/mass_attenuation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
def mass_energy_absorption_coefficient(
6363
material: str, data_source: str = "nist126"
6464
) -> Tabulated1D:
65-
"""Return the mass energy-absorption coefficient as a function of energy.
65+
r"""Return the mass energy-absorption coefficient as a function of energy.
6666
6767
The mass energy-absorption coefficient, :math:`\mu_\text{en}/\rho`, is
6868
defined as the fraction of incident photon energy absorbed in a material per
@@ -108,7 +108,7 @@ def mass_energy_absorption_coefficient(
108108

109109

110110
def mass_attenuation_coefficient(element):
111-
"""Return the photon mass attenuation coefficient as a function of energy.
111+
r"""Return the photon mass attenuation coefficient as a function of energy.
112112
113113
The mass energy-absorption coefficient, :math:`\mu_\text{en}/\rho`, is
114114
defined as the fraction of incident photon energy absorbed in a material per

0 commit comments

Comments
 (0)