8000 DOC: Fix math block in hermmulx, lagmulx (#20261) · thomasjpfan/numpy@927feff · GitHub
[go: up one dir, main page]

Skip to content

Commit 927feff

Browse files
authored
DOC: Fix math block in hermmulx, lagmulx (numpy#20261)
The math expression needs to be indented, Otherwise it is seen as being outside the directive and not rendered.
1 parent c276dfb commit 927feff

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

numpy/polynomial/hermite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ def hermmulx(c):
419419
420420
.. math::
421421
422-
xP_i(x) = (P_{i + 1}(x)/2 + i*P_{i - 1}(x))
422+
xP_i(x) = (P_{i + 1}(x)/2 + i*P_{i - 1}(x))
423423
424424
Examples
425425
--------

numpy/polynomial/hermite_e.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ def hermemulx(c):
414414
415415
.. math::
416416
417-
xP_i(x) = (P_{i + 1}(x) + iP_{i - 1}(x)))
417+
xP_i(x) = (P_{i + 1}(x) + iP_{i - 1}(x)))
418418
419419
Examples
420420
--------

numpy/polynomial/laguerre.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ def lagmulx(c):
414414
415415
.. math::
416416
417-
xP_i(x) = (-(i + 1)*P_{i + 1}(x) + (2i + 1)P_{i}(x) - iP_{i - 1}(x))
417+
xP_i(x) = (-(i + 1)*P_{i + 1}(x) + (2i + 1)P_{i}(x) - iP_{i - 1}(x))
418418
419419
Examples
420420
--------

0 commit comments

Comments
 (0)
0