Skip to content

Commit 9aa5251

Browse files
Fix math rendering in gcd and lcm docs
1 parent 1e1c617 commit 9aa5251

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dpnp/dpnp_iface_mathematical.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2343,7 +2343,7 @@ def ediff1d(ary, to_end=None, to_begin=None):
23432343
)
23442344

23452345
_GCD_DOCSTRING = r"""
2346-
Returns the greatest common divisor of :math:`\abs{x1}` and :math:`\abs{x2}`.
2346+
Returns the greatest common divisor of :math:`|x_1|` and :math:`|x_2|`.
23472347
23482348
For full documentation refer to :obj:`numpy.gcd`.
23492349
@@ -2962,7 +2962,7 @@ def interp(x, xp, fp, left=None, right=None, period=None):
29622962

29632963

29642964
_LCM_DOCSTRING = r"""
2965-
Returns the lowest common multiple of :math:`\abs{x1}` and :math:`\abs{x2}`.
2965+
Returns the lowest common multiple of :math:`|x_1|` and :math:`|x_2|`.
29662966
29672967
For full documentation refer to :obj:`numpy.lcm`.
29682968

0 commit comments

Comments
 (0)